Skip to content
  • msaboff@apple.com's avatar
    Change ctiTrampoline into a thunk · adc50523
    msaboff@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=123844
    
    Reviewed by Filip Pizlo.
    
    Converted ctiTrampoline and ctiOpThrowNotCaught into thunks named callToJavaScript
    and returnFromJavaScript.  Cleaned up and in some cases removed JITStubsXXX.h files
    after removing ctiTrampoline and ctiOpThrowNotCaught.  Added callJavaScriptJITFunction
    to VM that is a function pointer to the callToJavaScript thunk.
    
    * GNUmakefile.list.am:
    * JavaScriptCore.xcodeproj/project.pbxproj:
    * dfg/DFGDriver.cpp:
    (JSC::DFG::compileImpl):
    * jit/JITCode.cpp:
    (JSC::JITCode::execute):
    * jit/JITExceptions.cpp:
    (JSC::genericUnwind):
    * jit/JITStubs.cpp:
    * jit/JITStubs.h:
    * jit/JITStubsARM.h:
    * jit/JITStubsARM64.h: Removed.
    * jit/JITStubsARMv7.h:
    * jit/JITStubsMIPS.h: Removed.
    * jit/JITStubsMSVC64.asm:
    * jit/JITStubsSH4.h: Removed.
    * jit/JITStubsX86.h:
    * jit/JITStubsX86_64.h:
    * jit/JSInterfaceJIT.h:
    * jit/ThunkGenerators.cpp:
    (JSC::returnFromJavaScript):
    (JSC::callToJavaScript):
    * jit/ThunkGenerators.h:
    * runtime/VM.cpp:
    (JSC::VM::VM):
    * runtime/VM.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    adc50523