mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Introduce js_DeepAbort to be used from jsinterp.cpp, instead of trying to call TraceRecorder->deepAbort directly (453235).
This commit is contained in:
parent
cda5a77a1b
commit
fe70cfea9b
@ -7051,7 +7051,7 @@ js_Interpret(JSContext *cx)
|
||||
|
||||
if (tr) {
|
||||
JS_TRACE_MONITOR(cx).recorder = tr;
|
||||
tr->deepAbort();
|
||||
js_DeepAbort(cx);
|
||||
}
|
||||
return ok;
|
||||
|
||||
|
@ -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()
|
||||
|
@ -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___ */
|
||||
|
Loading…
Reference in New Issue
Block a user