Changeset 204840 in webkit
- Timestamp:
- Aug 23, 2016 10:32:52 AM (8 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r204769 r204840 1 2016-08-23 Saam Barati <sbarati@apple.com> 2 3 JIT::updateTopCallframe() in the baseline JIT should use PC instead of PC+1 4 https://bugs.webkit.org/show_bug.cgi?id=158955 5 6 Reviewed by Mark Lam. 7 8 This will make the baseline JIT consistent with the rest of the tiers. 9 10 * jit/JITInlines.h: 11 (JSC::JIT::updateTopCallFrame): 12 1 13 2016-08-22 Per Arne Vollan <pvollan@apple.com> 2 14 -
trunk/Source/JavaScriptCore/jit/JITInlines.h
r203699 r204840 138 138 ASSERT(static_cast<int>(m_bytecodeOffset) >= 0); 139 139 #if USE(JSVALUE32_64) 140 Instruction* instruction = m_codeBlock->instructions().begin() + m_bytecodeOffset + 1;140 Instruction* instruction = m_codeBlock->instructions().begin() + m_bytecodeOffset; 141 141 uint32_t locationBits = CallSiteIndex(instruction).bits(); 142 142 #else 143 uint32_t locationBits = CallSiteIndex(m_bytecodeOffset + 1).bits();143 uint32_t locationBits = CallSiteIndex(m_bytecodeOffset).bits(); 144 144 #endif 145 145 store32(TrustedImm32(locationBits), intTagFor(CallFrameSlot::argumentCount));
Note: See TracChangeset
for help on using the changeset viewer.