Changeset 35810 in webkit for trunk/JavaScriptCore/VM/CodeGenerator.cpp
- Timestamp:
- Aug 17, 2008, 2:27:56 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CodeGenerator.cpp
r35703 r35810 463 463 PassRefPtr<LabelID> CodeGenerator::emitJumpIfTrue(RegisterID* cond, LabelID* target) 464 464 { 465 if (m_lastOpcodeID == op_less ) {465 if (m_lastOpcodeID == op_less && !target->isForwardLabel()) { 466 466 int dstIndex; 467 467 int src1Index; … … 472 472 if (cond->index() == dstIndex && cond->isTemporary() && !cond->refCount()) { 473 473 rewindBinaryOp(); 474 emitOpcode( target->isForwardLabel() ? op_jless :op_loop_if_less);474 emitOpcode(op_loop_if_less); 475 475 instructions().append(src1Index); 476 476 instructions().append(src2Index);
Note:
See TracChangeset
for help on using the changeset viewer.