Changeset 36605 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Sep 17, 2008, 11:45:48 PM (17 years ago)
Author:
[email protected]
Message:

2008-09-17 Oliver Hunt <[email protected]>

Correctly restore argument reference prior to SFX runtime calls.


Reviewed by Steve Falkenburg.

  • VM/CTI.cpp: (JSC::CTI::privateCompileSlowCases): (JSC::CTI::privateCompile):
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r36604 r36605  
     12008-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
    1112008-09-17  Cameron Zwarich  <[email protected]>
    212
  • trunk/JavaScriptCore/VM/CTI.cpp

    r36581 r36605  
    19771977        case op_construct: {
    19781978            m_jit.link(iter->from, m_jit.label());
     1979            m_jit.emitRestoreArgumentReference();
    19791980
    19801981            // We jump to this slow case if the ctiCode for the codeBlock has not yet been generated; compile it now.
     
    20212022    // Lazy copy of the scopeChain
    20222023    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();
    20242026        callToUpdateScopeChain = m_jit.emitCall();
     2027    }
    20252028
    20262029    privateCompileMainPass();
Note: See TracChangeset for help on using the changeset viewer.