]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - jit/JITExceptions.h
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / jit / JITExceptions.h
index 59ded187d539d24734f7714dae5e2c90f4760a5e..43b92e7fb9653e47b64e53a8d433cb060a8e3de8 100644 (file)
 #ifndef JITExceptions_h
 #define JITExceptions_h
 
-#include "JSValue.h"
-#include "MacroAssemblerCodeRef.h"
-
-#if ENABLE(ASSEMBLER)
+#include "JSCJSValue.h"
 
 namespace JSC {
 
 class ExecState;
-class JSGlobalData;
-
-// This header gives other parts of the system access to the JIT's prototocol
-// for the throwing and handling exceptions.
-
-struct ExceptionHandler {
-    void* catchRoutine;
-    ExecState* callFrame;
-};
+class VM;
 
-ExceptionHandler genericThrow(JSGlobalData*, ExecState*, JSValue exceptionValue, unsigned vPCIndex);
-
-ExceptionHandler jitThrow(JSGlobalData*, ExecState*, JSValue exceptionValue, ReturnAddressPtr faultLocation);
+void genericUnwind(VM*, ExecState*);
 
 } // namespace JSC
 
-#endif
-
 #endif // JITExceptions_h