]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - llint/LLIntCLoop.h
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / llint / LLIntCLoop.h
index 231e52f66d90ec2f015c59b393ba650b6c4c0b33..8782b369ce9ee3a384524d2fb79e89ef567654e6 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (C) 2011, 2012 Apple Inc. All rights reserved.
+ * Copyright (C) 2012, 2013 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
 #ifndef LLIntCLoop_h
 #define LLIntCLoop_h
 
 #ifndef LLIntCLoop_h
 #define LLIntCLoop_h
 
-#if ENABLE(LLINT_C_LOOP)
+#if !ENABLE(JIT)
 
 
-#include "CodeSpecializationKind.h"
+#include "CallFrame.h"
 #include "JSCJSValue.h"
 #include "JSCJSValue.h"
-#include "MacroAssemblerCodeRef.h"
 #include "Opcode.h"
 #include "Opcode.h"
-#include "Register.h"
+#include "ProtoCallFrame.h"
 
 namespace JSC {
 
 namespace JSC {
-
 namespace LLInt {
 
 namespace LLInt {
 
-const OpcodeID llint_unused = llint_end;
-
 class CLoop {
 public:
     static void initialize();
 class CLoop {
 public:
     static void initialize();
-    static JSValue execute(CallFrame*, OpcodeID bootstrapOpcodeId, bool isInitializationPass = false);
-
-    static void* catchRoutineFor(Instruction* catchPCForInterpreter);
-
-    static MacroAssemblerCodePtr hostCodeEntryFor(CodeSpecializationKind);
-    static MacroAssemblerCodePtr jsCodeEntryWithArityCheckFor(CodeSpecializationKind);
-    static MacroAssemblerCodePtr jsCodeEntryFor(CodeSpecializationKind);
+    static JSValue execute(OpcodeID entryOpcodeID, void* executableAddress, VM*, ProtoCallFrame*, bool isInitializationPass = false);
 };
 
 } } // namespace JSC::LLInt
 
 };
 
 } } // namespace JSC::LLInt
 
-#endif // ENABLE(LLINT_C_LOOP)
+using JSC::LLInt::CLoop;
+
+#endif // !ENABLE(JIT)
 
 #endif // LLIntCLoop_h
 
 #endif // LLIntCLoop_h