Changeset 43121 in webkit for trunk/JavaScriptCore/jit/JIT.cpp
- Timestamp:
- May 1, 2009, 2:20:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JIT.cpp
r43103 r43121 678 678 emitGetVirtualRegister(currentInstruction[1].u.operand, regT0); 679 679 680 Jump isZero = branchPtr(Equal, regT0, ImmPtr(JSValuePtr::encode(js 0())));680 Jump isZero = branchPtr(Equal, regT0, ImmPtr(JSValuePtr::encode(jsNumber(m_globalData, 0)))); 681 681 addJump(emitJumpIfImmediateInteger(regT0), target + 2); 682 682 … … 778 778 emitGetVirtualRegister(currentInstruction[1].u.operand, regT0); 779 779 780 addJump(branchPtr(Equal, regT0, ImmPtr(JSValuePtr::encode(js 0()))), target + 2);780 addJump(branchPtr(Equal, regT0, ImmPtr(JSValuePtr::encode(jsNumber(m_globalData, 0)))), target + 2); 781 781 Jump isNonZero = emitJumpIfImmediateInteger(regT0); 782 782 … … 921 921 emitGetVirtualRegister(currentInstruction[1].u.operand, regT0); 922 922 923 Jump isZero = branchPtr(Equal, regT0, ImmPtr(JSValuePtr::encode(js 0())));923 Jump isZero = branchPtr(Equal, regT0, ImmPtr(JSValuePtr::encode(jsNumber(m_globalData, 0)))); 924 924 addJump(emitJumpIfImmediateInteger(regT0), target + 2); 925 925
Note:
See TracChangeset
for help on using the changeset viewer.