Changeset 36605 in webkit for trunk/JavaScriptCore
- Timestamp:
- Sep 17, 2008, 11:45:48 PM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r36604 r36605 1 2008-09-17 Oliver Hunt <[email protected]> 2 3 Correctly restore argument reference prior to SFX runtime calls. 4 5 Reviewed by Steve Falkenburg. 6 7 * VM/CTI.cpp: 8 (JSC::CTI::privateCompileSlowCases): 9 (JSC::CTI::privateCompile): 10 1 11 2008-09-17 Cameron Zwarich <[email protected]> 2 12 -
trunk/JavaScriptCore/VM/CTI.cpp
r36581 r36605 1977 1977 case op_construct: { 1978 1978 m_jit.link(iter->from, m_jit.label()); 1979 m_jit.emitRestoreArgumentReference(); 1979 1980 1980 1981 // We jump to this slow case if the ctiCode for the codeBlock has not yet been generated; compile it now. … … 2021 2022 // Lazy copy of the scopeChain 2022 2023 X86Assembler::JmpSrc callToUpdateScopeChain; 2023 if ((m_codeBlock->codeType == FunctionCode) && m_codeBlock->needsFullScopeChain) 2024 if ((m_codeBlock->codeType == FunctionCode) && m_codeBlock->needsFullScopeChain) { 2025 m_jit.emitRestoreArgumentReference(); 2024 2026 callToUpdateScopeChain = m_jit.emitCall(); 2027 } 2025 2028 2026 2029 privateCompileMainPass();
Note:
See TracChangeset
for help on using the changeset viewer.