Ignore:
Timestamp:
Nov 27, 2008, 6:24:20 PM (16 years ago)
Author:
[email protected]
Message:

2008-11-27 Sam Weinig <[email protected]>

Reviewed by Cameron Zwarich.

Fix FIXME by adding accessor for JSFunction's m_body property.

  • interpreter/Interpreter.cpp: (JSC::Interpreter::cti_op_call_JSFunction): (JSC::Interpreter::cti_vm_dontLazyLinkCall): (JSC::Interpreter::cti_vm_lazyLinkCall):
  • profiler/Profiler.cpp: (JSC::createCallIdentifierFromFunctionImp):
  • runtime/Arguments.h: (JSC::Arguments::getArgumentsData): (JSC::Arguments::Arguments):
  • runtime/FunctionPrototype.cpp: (JSC::functionProtoFuncToString):
  • runtime/JSFunction.h: (JSC::JSFunction::JSFunction): (JSC::JSFunction::body):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/Arguments.h

    r38511 r38825  
    107107        function = callFrame->callee();
    108108   
    109         CodeBlock* codeBlock = &function->m_body->generatedBytecode();
     109        CodeBlock* codeBlock = &function->body()->generatedBytecode();
    110110        int numParameters = codeBlock->numParameters;
    111111        argc = callFrame->argumentCount();
     
    130130        getArgumentsData(callFrame, callee, firstParameterIndex, argv, numArguments);
    131131
    132         d->numParameters = callee->m_body->parameterCount();
     132        d->numParameters = callee->body()->parameterCount();
    133133        d->firstParameterIndex = firstParameterIndex;
    134134        d->numArguments = numArguments;
     
    161161        , d(new ArgumentsData)
    162162    {
    163         ASSERT(!callFrame->callee()->m_body->parameterCount());
     163        ASSERT(!callFrame->callee()->body()->parameterCount());
    164164
    165165        unsigned numArguments = callFrame->argumentCount() - 1;
Note: See TracChangeset for help on using the changeset viewer.