Ignore:
Timestamp:
Jul 5, 2011, 11:35:44 PM (14 years ago)
Author:
[email protected]
Message:

2011-07-05 Filip Pizlo <[email protected]>

DFG JIT virtual call implementation is inefficient.
https://bugs.webkit.org/show_bug.cgi?id=63974

Reviewed by Gavin Barraclough.

  • dfg/DFGOperations.cpp:
  • runtime/Executable.h: (JSC::ExecutableBase::generatedJITCodeForCallWithArityCheck): (JSC::ExecutableBase::generatedJITCodeForConstructWithArityCheck): (JSC::ExecutableBase::generatedJITCodeWithArityCheckFor): (JSC::ExecutableBase::hasJITCodeForCall): (JSC::ExecutableBase::hasJITCodeForConstruct): (JSC::ExecutableBase::hasJITCodeFor):
  • runtime/JSFunction.h: (JSC::JSFunction::scopeUnchecked):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSFunction.h

    r90423 r90437  
    6464            return m_scopeChain.get();
    6565        }
     66        // This method may be called for host functins, in which case it
     67        // will return an arbitrary value. This should only be used for
     68        // optimized paths in which the return value does not matter for
     69        // host functions, and checking whether the function is a host
     70        // function is deemed too expensive.
     71        ScopeChainNode* scopeUnchecked()
     72        {
     73            return m_scopeChain.get();
     74        }
    6675        void setScope(JSGlobalData& globalData, ScopeChainNode* scopeChain)
    6776        {
Note: See TracChangeset for help on using the changeset viewer.