Fix DEBUG_timeless et al. code.

This commit is contained in:
brendan%mozilla.org 2006-09-14 00:54:29 +00:00
parent 855ac3bf2e
commit ca17ae3ad9

View File

@ -1350,7 +1350,7 @@ js_NewGCThing(JSContext *cx, uintN flags, size_t nbytes)
thing->flagp = NULL;
#ifdef DEBUG_gchist
gchist[gchpos].lastDitch = doGC;
gchist[gchpos].freeList = &rt->gcArenaList[flindex];
gchist[gchpos].freeList = rt->gcArenaList[flindex].freeList;
if (++gchpos == NGCHIST)
gchpos = 0;
#endif