Ignore:
Timestamp:
Mar 5, 2012, 10:54:23 PM (13 years ago)
Author:
[email protected]
Message:

The LLInt should work even when the JIT is disabled
https://bugs.webkit.org/show_bug.cgi?id=80340
<rdar://problem/10922235>

Reviewed by Gavin Barraclough.

  • assembler/MacroAssemblerCodeRef.h:

(JSC::MacroAssemblerCodePtr::createLLIntCodePtr):
(MacroAssemblerCodeRef):
(JSC::MacroAssemblerCodeRef::createLLIntCodeRef):

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::initialize):
(JSC::Interpreter::execute):
(JSC::Interpreter::executeCall):
(JSC::Interpreter::executeConstruct):

  • jit/JIT.h:

(JSC::JIT::compileCTINativeCall):

  • jit/JITStubs.h:

(JSC::JITThunks::ctiNativeCall):
(JSC::JITThunks::ctiNativeConstruct):

  • llint/LLIntEntrypoints.cpp:

(JSC::LLInt::getFunctionEntrypoint):
(JSC::LLInt::getEvalEntrypoint):
(JSC::LLInt::getProgramEntrypoint):

  • llint/LLIntSlowPaths.cpp:

(JSC::LLInt::LLINT_SLOW_PATH_DECL):
(LLInt):

  • llint/LLIntSlowPaths.h:

(LLInt):

  • llint/LowLevelInterpreter.h:
  • llint/LowLevelInterpreter32_64.asm:
  • runtime/Executable.h:

(NativeExecutable):
(JSC::NativeExecutable::create):
(JSC::NativeExecutable::finishCreation):

  • runtime/JSGlobalData.cpp:

(JSC::JSGlobalData::JSGlobalData):

  • runtime/JSGlobalData.h:

(JSGlobalData):

  • runtime/Options.cpp:

(Options):
(JSC::Options::parse):
(JSC::Options::initializeOptions):

  • runtime/Options.h:

(Options):

  • wtf/Platform.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/JIT.h

    r109307 r109863  
    255255        static CodeRef compileCTINativeCall(JSGlobalData* globalData, NativeFunction func)
    256256        {
    257             if (!globalData->canUseJIT())
     257            if (!globalData->canUseJIT()) {
     258#if ENABLE(LLINT)
     259                return CodeRef::createLLIntCodeRef(llint_native_call_trampoline);
     260#else
    258261                return CodeRef();
     262#endif
     263            }
    259264            JIT jit(globalData, 0);
    260265            return jit.privateCompileCTINativeCall(globalData, func);
Note: See TracChangeset for help on using the changeset viewer.