mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Use the right JIT script when disabling trace ICs (bug 627150, r=billm).
This commit is contained in:
parent
783f963055
commit
3445b6ef78
@ -920,9 +920,9 @@ UpdateTraceHintSingle(Repatcher &repatcher, JSC::CodeLocationJump jump, JSC::Cod
|
||||
}
|
||||
|
||||
static void
|
||||
DisableTraceHint(VMFrame &f, ic::TraceICInfo &ic)
|
||||
DisableTraceHint(JITScript *jit, ic::TraceICInfo &ic)
|
||||
{
|
||||
Repatcher repatcher(f.jit());
|
||||
Repatcher repatcher(jit);
|
||||
UpdateTraceHintSingle(repatcher, ic.traceHint, ic.jumpTarget);
|
||||
|
||||
if (ic.hasSlowTraceHint)
|
||||
@ -1021,7 +1021,7 @@ RunTracer(VMFrame &f)
|
||||
#if JS_MONOIC
|
||||
ic.loopCounterStart = *loopCounter;
|
||||
if (blacklist)
|
||||
DisableTraceHint(f, ic);
|
||||
DisableTraceHint(entryFrame->jit(), ic);
|
||||
#endif
|
||||
|
||||
// Even though ExecuteTree() bypasses the interpreter, it should propagate
|
||||
|
Loading…
Reference in New Issue
Block a user