diff options
Diffstat (limited to 'src/lj_gc.c')
-rw-r--r-- | src/lj_gc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lj_gc.c b/src/lj_gc.c index e479b567..0d8a03ec 100644 --- a/src/lj_gc.c +++ b/src/lj_gc.c | |||
@@ -230,8 +230,7 @@ static void gc_traverse_trace(global_State *g, Trace *T) | |||
230 | 230 | ||
231 | /* The current trace is a GC root while not anchored in the prototype (yet). */ | 231 | /* The current trace is a GC root while not anchored in the prototype (yet). */ |
232 | #define gc_mark_curtrace(g) \ | 232 | #define gc_mark_curtrace(g) \ |
233 | { if (G2J(g)->state != LJ_TRACE_IDLE && G2J(g)->curtrace != 0) \ | 233 | { if (G2J(g)->curtrace != 0) gc_traverse_trace(g, &G2J(g)->cur); } |
234 | gc_traverse_trace(g, &G2J(g)->cur); } | ||
235 | #else | 234 | #else |
236 | #define gc_mark_curtrace(g) UNUSED(g) | 235 | #define gc_mark_curtrace(g) UNUSED(g) |
237 | #endif | 236 | #endif |