summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/llint/LLIntCLoop.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/llint/LLIntCLoop.h')
-rw-r--r--Source/JavaScriptCore/llint/LLIntCLoop.h24
1 files changed, 8 insertions, 16 deletions
diff --git a/Source/JavaScriptCore/llint/LLIntCLoop.h b/Source/JavaScriptCore/llint/LLIntCLoop.h
index 231e52f66..8782b369c 100644
--- a/Source/JavaScriptCore/llint/LLIntCLoop.h
+++ b/Source/JavaScriptCore/llint/LLIntCLoop.h
@@ -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
@@ -26,34 +26,26 @@
#ifndef LLIntCLoop_h
#define LLIntCLoop_h
-#if ENABLE(LLINT_C_LOOP)
+#if !ENABLE(JIT)
-#include "CodeSpecializationKind.h"
+#include "CallFrame.h"
#include "JSCJSValue.h"
-#include "MacroAssemblerCodeRef.h"
#include "Opcode.h"
-#include "Register.h"
+#include "ProtoCallFrame.h"
namespace JSC {
-
namespace LLInt {
-const OpcodeID llint_unused = llint_end;
-
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
-#endif // ENABLE(LLINT_C_LOOP)
+using JSC::LLInt::CLoop;
+
+#endif // !ENABLE(JIT)
#endif // LLIntCLoop_h