Changeset 37755 in webkit for trunk/JavaScriptCore
- Timestamp:
- Oct 20, 2008, 7:45:57 PM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r37751 r37755 1 2008-10-20 Cameron Zwarich <[email protected]> 2 3 Reviewed by Maciej Stachowiak. 4 5 Remove an untaken branch in CodeGenerator::emitJumpIfFalse(). This 6 function is never called with a backwards target LabelID, and there is 7 even an assertion to this effect at the top of the function body. 8 9 * VM/CodeGenerator.cpp: 10 (JSC::CodeGenerator::emitJumpIfFalse): 11 1 12 2008-10-20 Cameron Zwarich <[email protected]> 2 13 -
trunk/JavaScriptCore/VM/CodeGenerator.cpp
r37730 r37755 582 582 if (cond->index() == dstIndex && cond->isTemporary() && !cond->refCount()) { 583 583 rewindUnaryOp(); 584 emitOpcode( target->isForwardLabel() ? op_jtrue : op_loop_if_true);584 emitOpcode(op_jtrue); 585 585 instructions().append(srcIndex); 586 586 instructions().append(target->offsetFrom(instructions().size()));
Note:
See TracChangeset
for help on using the changeset viewer.