#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*, JSValue exceptionValue);
} // namespace JSC
-#endif
-
#endif // JITExceptions_h