Ignore:
Timestamp:
May 19, 2010, 6:01:03 PM (15 years ago)
Author:
[email protected]
Message:

Bug 39393 - JSFunction need not be a subclass of InternalFunction.

Reviewed by Oliver Hunt.

This may prevent us from introducing a more useful parent class to
JSFunction, e.g. a JSObject that holds an executable, which could
also reference an eval or program executable.

(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):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/interpreter/Interpreter.cpp

    r59791 r59800  
    44254425}
    44264426
    4427 JSValue Interpreter::retrieveCaller(CallFrame* callFrame, InternalFunction* function) const
     4427JSValue Interpreter::retrieveCaller(CallFrame* callFrame, JSFunction* function) const
    44284428{
    44294429    CallFrame* functionCallFrame = findFunctionCallFrame(callFrame, function);
     
    44634463}
    44644464
    4465 CallFrame* Interpreter::findFunctionCallFrame(CallFrame* callFrame, InternalFunction* function)
     4465CallFrame* Interpreter::findFunctionCallFrame(CallFrame* callFrame, JSFunction* function)
    44664466{
    44674467    for (CallFrame* candidate = callFrame; candidate; candidate = candidate->callerFrame()->removeHostCallFrameFlag()) {
Note: See TracChangeset for help on using the changeset viewer.