mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
One more fix for the trace flush logic. Sigh.
This commit is contained in:
parent
1b75ec22c8
commit
a285415b01
@ -226,7 +226,7 @@ static void trace_flushroot(jit_State *J, GCtrace *T)
|
||||
/* Unlink root trace from chain anchored in prototype. */
|
||||
if (pt->trace == T->traceno) { /* Trace is first in chain. Easy. */
|
||||
pt->trace = T->nextroot;
|
||||
} else { /* Otherwise search in chain of root traces. */
|
||||
} else if (pt->trace) { /* Otherwise search in chain of root traces. */
|
||||
GCtrace *T2 = traceref(J, pt->trace);
|
||||
if (T2) {
|
||||
for (; T2->nextroot; T2 = traceref(J, T2->nextroot))
|
||||
|
Loading…
Reference in New Issue
Block a user