X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/6fe7ccc865dc7d7541b93c5bcaf6368d2c98a174..HEAD:/jit/JITExceptions.h?ds=sidebyside diff --git a/jit/JITExceptions.h b/jit/JITExceptions.h index 59ded18..43b92e7 100644 --- a/jit/JITExceptions.h +++ b/jit/JITExceptions.h @@ -26,31 +26,16 @@ #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