Skip to content
  • oliver@apple.com's avatar
    fourthTier: DFG should provide utilities for common OSR exit tasks · b9009149
    oliver@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=114306
    
    Reviewed by Mark Hahnenberg.
    
    Just abstract out some things that the FTL will want to use as well.
    
    * CMakeLists.txt:
    * GNUmakefile.list.am:
    * JavaScriptCore.xcodeproj/project.pbxproj:
    * Target.pri:
    * dfg/DFGDriver.cpp:
    (JSC::DFG::compile):
    * dfg/DFGOSRExitCompiler.cpp:
    * dfg/DFGOSRExitCompiler.h:
    (OSRExitCompiler):
    * dfg/DFGOSRExitCompiler32_64.cpp:
    (JSC::DFG::OSRExitCompiler::compileExit):
    * dfg/DFGOSRExitCompiler64.cpp:
    (JSC::DFG::OSRExitCompiler::compileExit):
    * dfg/DFGOSRExitCompilerCommon.cpp: Added.
    (DFG):
    (JSC::DFG::handleExitCounts):
    (JSC::DFG::reifyInlinedCallFrames):
    (JSC::DFG::adjustAndJumpToTarget):
    * dfg/DFGOSRExitCompilerCommon.h: Added.
    (DFG):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153119 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b9009149