Changeset 38825 in webkit for trunk/JavaScriptCore/interpreter


Ignore:
Timestamp:
Nov 27, 2008, 6:24:20 PM (17 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/interpreter/Interpreter.cpp

    r38763 r38825  
    48424842
    48434843    ScopeChainNode* callDataScopeChain = asFunction(ARG_src1)->m_scopeChain.node();
    4844     CodeBlock* newCodeBlock = &asFunction(ARG_src1)->m_body->bytecode(callDataScopeChain);
     4844    CodeBlock* newCodeBlock = &asFunction(ARG_src1)->body()->bytecode(callDataScopeChain);
    48454845
    48464846    if (!newCodeBlock->ctiCode)
     
    49024902
    49034903    JSFunction* callee = asFunction(ARG_src1);
    4904     CodeBlock* codeBlock = &callee->m_body->bytecode(callee->m_scopeChain.node());
     4904    CodeBlock* codeBlock = &callee->body()->bytecode(callee->m_scopeChain.node());
    49054905    if (!codeBlock->ctiCode)
    49064906        JIT::compile(ARG_globalData, codeBlock);
     
    49164916
    49174917    JSFunction* callee = asFunction(ARG_src1);
    4918     CodeBlock* codeBlock = &callee->m_body->bytecode(callee->m_scopeChain.node());
     4918    CodeBlock* codeBlock = &callee->body()->bytecode(callee->m_scopeChain.node());
    49194919    if (!codeBlock->ctiCode)
    49204920        JIT::compile(ARG_globalData, codeBlock);
Note: See TracChangeset for help on using the changeset viewer.