Changeset 39055 in webkit for trunk/JavaScriptCore
- Timestamp:
- Dec 5, 2008, 4:52:05 PM (16 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r39053 r39055 1 2008-12-05 Gavin Barraclough <[email protected]> 2 3 Reviewed by Geoff Garen. 4 5 Remove redundant calls to JIT::emitSlowScriptCheck. 6 This is checked in the hot path, so is not needed on the slow path - and the code 7 was being planted before the start of the slow case, so was completely unreachable! 8 9 * jit/JIT.cpp: 10 (JSC::JIT::privateCompileSlowCases): 11 1 12 2008-12-05 Gavin Barraclough <[email protected]> 2 13 -
trunk/JavaScriptCore/jit/JIT.cpp
r39053 r39055 1606 1606 } 1607 1607 case op_loop_if_less: { 1608 emitSlowScriptCheck(i);1609 1610 1608 unsigned target = instruction[i + 3].u.operand; 1611 1609 JSValue* src2imm = getConstantImmediateNumericArg(instruction[i + 2].u.operand); … … 1640 1638 } 1641 1639 case op_loop_if_lesseq: { 1642 emitSlowScriptCheck(i);1643 1644 1640 unsigned target = instruction[i + 3].u.operand; 1645 1641 JSValue* src2imm = getConstantImmediateNumericArg(instruction[i + 2].u.operand); … … 1702 1698 } 1703 1699 case op_loop_if_true: { 1704 emitSlowScriptCheck(i);1705 1706 1700 __ link(iter->from, __ label()); 1707 1701 emitPutCTIArg(X86::eax, 0);
Note:
See TracChangeset
for help on using the changeset viewer.