X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/a253471d7f8e4d91bf6ebabab00155c3b387d3d0..93a3786624b2768d89bfa27e46598dc64e2fb70a:/dfg/DFGOSRExitCompiler.h?ds=sidebyside diff --git a/dfg/DFGOSRExitCompiler.h b/dfg/DFGOSRExitCompiler.h index 5236449..a2be5b8 100644 --- a/dfg/DFGOSRExitCompiler.h +++ b/dfg/DFGOSRExitCompiler.h @@ -31,6 +31,7 @@ #if ENABLE(DFG_JIT) #include "DFGAssemblyHelpers.h" +#include "DFGCCallHelpers.h" #include "DFGOSRExit.h" #include "DFGOperations.h" @@ -42,12 +43,12 @@ namespace DFG { class OSRExitCompiler { public: - OSRExitCompiler(AssemblyHelpers& jit) + OSRExitCompiler(CCallHelpers& jit) : m_jit(jit) { } - void compileExit(const OSRExit&, SpeculationRecovery*); + void compileExit(const OSRExit&, const Operands&, SpeculationRecovery*); private: #if !ASSERT_DISABLED @@ -72,12 +73,12 @@ private: void handleExitCounts(const OSRExit&); - AssemblyHelpers& m_jit; + CCallHelpers& m_jit; Vector m_poisonScratchIndices; }; extern "C" { -void DFG_OPERATION compileOSRExit(ExecState*); +void DFG_OPERATION compileOSRExit(ExecState*) WTF_INTERNAL; } } } // namespace JSC::DFG