]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - llint/LLIntEntrypoints.h
JavaScriptCore-1218.34.tar.gz
[apple/javascriptcore.git] / llint / LLIntEntrypoints.h
index dd7c2779819087b2d1c28a4387e74188287640b8..1cecba0a6c3243443885d99f26f71de81ab5c4f9 100644 (file)
@@ -36,25 +36,25 @@ namespace JSC {
 
 class EvalCodeBlock;
 class JITCode;
-class JSGlobalData;
+class VM;
 class MacroAssemblerCodePtr;
 class MacroAssemblerCodeRef;
 class ProgramCodeBlock;
 
 namespace LLInt {
 
-void getFunctionEntrypoint(JSGlobalData&, CodeSpecializationKind, JITCode&, MacroAssemblerCodePtr& arityCheck);
-void getEvalEntrypoint(JSGlobalData&, JITCode&);
-void getProgramEntrypoint(JSGlobalData&, JITCode&);
+void getFunctionEntrypoint(VM&, CodeSpecializationKind, JITCode&, MacroAssemblerCodePtr& arityCheck);
+void getEvalEntrypoint(VM&, JITCode&);
+void getProgramEntrypoint(VM&, JITCode&);
 
-inline void getEntrypoint(JSGlobalData& globalData, EvalCodeBlock*, JITCode& jitCode)
+inline void getEntrypoint(VM& vm, EvalCodeBlock*, JITCode& jitCode)
 {
-    getEvalEntrypoint(globalData, jitCode);
+    getEvalEntrypoint(vm, jitCode);
 }
 
-inline void getEntrypoint(JSGlobalData& globalData, ProgramCodeBlock*, JITCode& jitCode)
+inline void getEntrypoint(VM& vm, ProgramCodeBlock*, JITCode& jitCode)
 {
-    getProgramEntrypoint(globalData, jitCode);
+    getProgramEntrypoint(vm, jitCode);
 }
 
 } } // namespace JSC::LLInt