Changeset 43839 in webkit for trunk/JavaScriptCore/interpreter


Ignore:
Timestamp:
May 18, 2009, 1:22:52 PM (16 years ago)
Author:
[email protected]
Message:

2009-05-18 Jan Michael Alonzo <[email protected]>

Reviewed by Xan Lopez.

[Gtk] Various autotools build refactoring and fixes
https://bugs.webkit.org/show_bug.cgi?id=25286

Add -no-install and -no-fast-install to programs and tests that we
don't install. Also remove -O2 since this is already handled at
configure time.

  • GNUmakefile.am:
Location:
trunk/JavaScriptCore/interpreter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/interpreter/CallFrameClosure.h

    r43837 r43839  
    3333    CallFrame* newCallFrame;
    3434    JSFunction* function;
    35     FunctionBodyNode* functionBody;
     35    CodeBlock* codeBlock;
    3636    JSGlobalData* globalData;
    3737    Register* oldEnd;
  • trunk/JavaScriptCore/interpreter/Interpreter.cpp

    r43837 r43839  
    637637        m_reentryDepth++;
    638638#if ENABLE(JIT)
    639         result = programNode->jitCode(scopeChain).execute(&m_registerFile, newCallFrame, scopeChain->globalData, exception);
     639        if (!codeBlock->jitCode())
     640            JIT::compile(scopeChain->globalData, codeBlock);
     641        result = codeBlock->jitCode().execute(&m_registerFile, newCallFrame, scopeChain->globalData, exception);
    640642#else
    641643        result = privateExecute(Normal, &m_registerFile, newCallFrame, exception);
     
    754756#endif
    755757
    756     CallFrameClosure result = { callFrame, newCallFrame, function, functionBodyNode, scopeChain->globalData, oldEnd, scopeChain, codeBlock->m_numParameters, argc };
     758    CallFrameClosure result = { callFrame, newCallFrame, function, codeBlock, scopeChain->globalData, oldEnd, scopeChain, codeBlock->m_numParameters, argc };
    757759    return result;
    758760}
     
    771773        m_reentryDepth++;
    772774#if ENABLE(JIT)
    773         result = closure.functionBody->generatedJITCode().execute(&m_registerFile, closure.newCallFrame, closure.globalData, exception);
     775        ASSERT(closure.codeBlock->jitCode());
     776        result = closure.codeBlock->jitCode().execute(&m_registerFile, closure.newCallFrame, closure.globalData, exception);
    774777#else
    775778        result = privateExecute(Normal, &m_registerFile, closure.newCallFrame, exception);
     
    866869        m_reentryDepth++;
    867870#if ENABLE(JIT)
    868         result = evalNode->jitCode(scopeChain).execute(&m_registerFile, newCallFrame, scopeChain->globalData, exception);
     871        if (!codeBlock->jitCode())
     872            JIT::compile(scopeChain->globalData, codeBlock);
     873        result = codeBlock->jitCode().execute(&m_registerFile, newCallFrame, scopeChain->globalData, exception);
    869874#else
    870875        result = privateExecute(Normal, &m_registerFile, newCallFrame, exception);
Note: See TracChangeset for help on using the changeset viewer.