Ignore:
Timestamp:
May 13, 2009, 2:53:59 PM (16 years ago)
Author:
Darin Adler
Message:

JavaScriptCore:

2009-05-13 Darin Adler <Darin Adler>

Revert the parser arena change. It was a slowdown, not a speedup.
Better luck next time (I'll break it up into pieces).

WebCore:

2009-05-13 Darin Adler <Darin Adler>

Revert the parser arena change. It was a slowdown, not a speedup.
Better luck next time (I'll break it up into pieces).

WebKit/mac:

2009-05-13 Darin Adler <Darin Adler>

Revert the parser arena change. It was a slowdown, not a speedup.
Better luck next time (I'll break it up into pieces).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/jit/JITStubs.cpp

    r43642 r43661  
    10471047
    10481048    JSFunction* callee = asFunction(stackFrame.args[0].jsValue());
    1049     FunctionBodyNode* calleeBody = callee->body();
    1050     JITCode jitCode = calleeBody->generatedJITCode();
     1049    JITCode jitCode = callee->body()->generatedJITCode();
    10511050    ASSERT(jitCode);
    10521051   
    10531052    CodeBlock* codeBlock = 0;
    1054     if (!calleeBody->isHostFunction())
    1055         codeBlock = &calleeBody->bytecode(callee->scope().node());
     1053    if (!callee->isHostFunction())
     1054        codeBlock = &callee->body()->bytecode(callee->scope().node());
    10561055
    10571056    CallLinkInfo* callLinkInfo = &stackFrame.callFrame->callerFrame()->codeBlock()->getCallLinkInfo(stackFrame.args[1].returnAddress());
     
    12191218
    12201219    JSFunction* constructor = asFunction(stackFrame.args[0].jsValue());
    1221     FunctionBodyNode* constructorBody = constructor->body();
    1222     if (UNLIKELY(constructorBody && constructorBody->isHostFunction())) {
     1220    if (constructor->isHostFunction()) {
    12231221        CallFrame* callFrame = stackFrame.callFrame;
    12241222        CodeBlock* codeBlock = callFrame->codeBlock();
Note: See TracChangeset for help on using the changeset viewer.