diff options
author | Mike Pall <mike> | 2009-12-08 19:49:20 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2009-12-08 19:49:20 +0100 |
commit | 1d1fed48a002dfc0919135911057ebc255a53e0a (patch) | |
tree | c5c6643908374bb8f02f4c7691332d32f6645986 /src/lj_gc.c | |
parent | 55b16959717084884fd4a0cbae6d19e3786c20c7 (diff) | |
download | luajit-1d1fed48a002dfc0919135911057ebc255a53e0a.tar.gz luajit-1d1fed48a002dfc0919135911057ebc255a53e0a.tar.bz2 luajit-1d1fed48a002dfc0919135911057ebc255a53e0a.zip |
RELEASE LuaJIT-2.0.0-beta2v2.0.0-beta2
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 |