Changeset 70111 in webkit for trunk/JavaScriptCore/jit/JITPropertyAccess.cpp
- Timestamp:
- Oct 19, 2010, 4:55:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JITPropertyAccess.cpp
r66150 r70111 27 27 28 28 #if ENABLE(JIT) 29 #if !USE(JSVALUE32_64)29 #if USE(JSVALUE64) 30 30 #include "JIT.h" 31 31 … … 90 90 emitGetVirtualRegisters(base, regT0, property, regT1); 91 91 emitJumpSlowCaseIfNotImmediateInteger(regT1); 92 #if USE(JSVALUE64) 92 93 93 // This is technically incorrect - we're zero-extending an int32. On the hot path this doesn't matter. 94 94 // We check the value as if it was a uint32 against the m_vectorLength - which will always fail if … … 98 98 // extending since it makes it easier to re-tag the value in the slow case. 99 99 zeroExtend32ToPtr(regT1, regT1); 100 #else 101 emitFastArithImmToInt(regT1); 102 #endif 100 103 101 emitJumpSlowCaseIfNotJSCell(regT0, base); 104 102 addSlowCase(branchPtr(NotEqual, Address(regT0), ImmPtr(m_globalData->jsArrayVPtr))); … … 205 203 emitGetVirtualRegisters(base, regT0, property, regT1); 206 204 emitJumpSlowCaseIfNotImmediateInteger(regT1); 207 #if USE(JSVALUE64)208 205 // See comment in op_get_by_val. 209 206 zeroExtend32ToPtr(regT1, regT1); 210 #else211 emitFastArithImmToInt(regT1);212 #endif213 207 emitJumpSlowCaseIfNotJSCell(regT0, base); 214 208 addSlowCase(branchPtr(NotEqual, Address(regT0), ImmPtr(m_globalData->jsArrayVPtr))); … … 1104 1098 } // namespace JSC 1105 1099 1106 #endif // !USE(JSVALUE32_64)1100 #endif // USE(JSVALUE64) 1107 1101 #endif // ENABLE(JIT)
Note:
See TracChangeset
for help on using the changeset viewer.