Changeset 35037 in webkit for trunk/JavaScriptCore/VM/CodeGenerator.cpp
- Timestamp:
- Jul 7, 2008, 9:01:06 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CodeGenerator.cpp
r34903 r35037 209 209 210 210 // Shift register indexes in generated code to elide registers allocated by intermediate stack frames. 211 m_globalVarStorageOffset = 211 m_globalVarStorageOffset = -1 - RegisterFile::CallFrameHeaderSize - registerFile->size(); 212 212 213 213 // Add previously defined symbols to bookkeeping. … … 386 386 } 387 387 388 389 388 RegisterID* CodeGenerator::highestUsedRegister() 390 389 { … … 449 448 int src1Index; 450 449 int src2Index; 451 450 452 451 retrieveLastBinaryOp(dstIndex, src1Index, src2Index); 453 452 454 453 if (cond->index() == dstIndex && cond->isTemporary() && !cond->refCount()) { 455 454 rewindBinaryOp(); … … 461 460 } 462 461 } 463 462 464 463 emitOpcode(target->isForwardLabel() ? op_jtrue : op_loop_if_true); 465 464 instructions().append(cond->index()); … … 471 470 { 472 471 ASSERT(target->isForwardLabel()); 473 472 474 473 if (m_lastOpcodeID == op_less) { 475 474 int dstIndex; 476 475 int src1Index; 477 476 int src2Index; 478 477 479 478 retrieveLastBinaryOp(dstIndex, src1Index, src2Index); 480 479 481 480 if (cond->index() == dstIndex && cond->isTemporary() && !cond->refCount()) { 482 481 rewindBinaryOp(); … … 488 487 } 489 488 } 490 489 491 490 emitOpcode(op_jfalse); 492 491 instructions().append(cond->index());
Note:
See TracChangeset
for help on using the changeset viewer.