Changeset 47330 in webkit for trunk/JavaScriptCore/runtime


Ignore:
Timestamp:
Aug 15, 2009, 5:23:25 PM (16 years ago)
Author:
[email protected]
Message:

Fix the build with JIT disabled.

  • runtime/Arguments.h: Only compile the jitCode method when the JIT is enabled.
  • runtime/Executable.h: Include PrototypeFunction.h so the compiler knows what

NativeFunctionWrapper is when the JIT is disabled.

Location:
trunk/JavaScriptCore/runtime
Files:
2 edited

Legend:

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

    r47292 r47330  
    3030#include "Interpreter.h"
    3131#include "ObjectConstructor.h"
     32#include "PrototypeFunction.h"
    3233
    3334namespace JSC {
  • trunk/JavaScriptCore/runtime/Executable.h

    r47307 r47330  
    4747        int lineNo() const { return m_node->lineNo(); }
    4848        CodeBlockType& bytecode(ScopeChainNode* scopeChainNode) { return m_node->bytecode(scopeChainNode); }
     49
     50#if ENABLE(JIT)
    4951        JITCode& jitCode(ScopeChainNode* scopeChainNode) { return m_node->jitCode(scopeChainNode); }
     52#endif
    5053
    5154    protected:
Note: See TracChangeset for help on using the changeset viewer.