Skip to content
  • barraclough@apple.com's avatar
    JavaScriptCore: Bug 39393 - JSFunction need not be a subclass of InternalFunction. · 4be541cf
    barraclough@apple.com authored
    Reviewed by Oliver Hunt.
    
    re-landing r59800.
    
    * JavaScriptCore.exp:
    * interpreter/Interpreter.cpp:
    (JSC::Interpreter::retrieveCaller):
    (JSC::Interpreter::findFunctionCallFrame):
    * interpreter/Interpreter.h:
    * profiler/Profiler.cpp:
    (JSC::Profiler::createCallIdentifier):
    * runtime/FunctionPrototype.cpp:
    (JSC::functionProtoFuncToString):
    * runtime/JSFunction.cpp:
    (JSC::):
    (JSC::JSFunction::JSFunction):
    (JSC::JSFunction::name):
    (JSC::JSFunction::displayName):
    (JSC::JSFunction::calculatedDisplayName):
    * runtime/JSFunction.h:
    * runtime/JSObject.cpp:
    (JSC::JSObject::putDirectFunction):
    (JSC::JSObject::putDirectFunctionWithoutTransition):
    * runtime/JSObject.h:
    * runtime/Lookup.cpp:
    (JSC::setUpStaticFunctionSlot):
    
    WebCore: Rubber Stamped by Sam Weinig.
    
    JSFunctions are no longer a subclass of InternalFunction.
    
    * bindings/js/ScriptCallStack.cpp:
    (WebCore::ScriptCallStack::ScriptCallStack):
    (WebCore::ScriptCallStack::initialize):
    * bindings/js/ScriptCallStack.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    4be541cf