Introduce js_DeepAbort to be used from jsinterp.cpp, instead of trying to call TraceRecorder->deepAbort directly (453235).

This commit is contained in:
Andreas Gal 2008-09-01 18:32:41 -07:00
parent cda5a77a1b
commit fe70cfea9b
3 changed files with 10 additions and 1 deletions

View File

@ -7051,7 +7051,7 @@ js_Interpret(JSContext *cx)
if (tr) {
JS_TRACE_MONITOR(cx).recorder = tr;
tr->deepAbort();
js_DeepAbort(cx);
}
return ok;

View File

@ -2354,6 +2354,12 @@ js_AbortRecording(JSContext* cx, jsbytecode* abortpc, const char* reason)
js_TrashTree(cx, f);
}
void
js_DeepAbort(JSContext* cx)
{
JS_TRACE_MONITOR(cx).recorder->deepAbort();
}
#if defined NANOJIT_IA32
static bool
js_CheckForSSE2()

View File

@ -394,6 +394,9 @@ js_FlushJITCache(JSContext* cx);
extern void
js_FlushJITOracle(JSContext* cx);
extern void
js_DeepAbort(JSContext* cx);
#endif /* defined JS_TRACER */
#endif /* jstracer_h___ */