]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - dfg/DFGOSRExitCompiler.h
JavaScriptCore-1218.tar.gz
[apple/javascriptcore.git] / dfg / DFGOSRExitCompiler.h
index 523644982a584cf2df43aafcf04d9646967c7710..a2be5b849d3dbf49c4f2f2d5289d9e2ebecedbc0 100644 (file)
@@ -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<ValueRecovery>&, SpeculationRecovery*);
 
 private:
 #if !ASSERT_DISABLED
@@ -72,12 +73,12 @@ private:
     
     void handleExitCounts(const OSRExit&);
     
-    AssemblyHelpers& m_jit;
+    CCallHelpers& m_jit;
     Vector<unsigned> m_poisonScratchIndices;
 };
 
 extern "C" {
-void DFG_OPERATION compileOSRExit(ExecState*);
+void DFG_OPERATION compileOSRExit(ExecState*) WTF_INTERNAL;
 }
 
 } } // namespace JSC::DFG