bug 475146 - fixing gczeal checks in RefillDoubleFreeList. r=mrbkap

This commit is contained in:
Igor Bukanov 2009-01-26 19:51:20 +01:00
parent b5cd4ca3dc
commit ae33cd4a05

View File

@ -2056,9 +2056,9 @@ RefillDoubleFreeList(JSContext *cx)
return NULL;
}
if (rt->gcMallocBytes >= rt->gcMaxMallocBytes && rt->gcPoke
if ((rt->gcMallocBytes >= rt->gcMaxMallocBytes && rt->gcPoke)
#ifdef JS_GC_ZEAL
&& (rt->gcZeal >= 2 || (rt->gcZeal >= 1 && rt->gcPoke))
|| rt->gcZeal >= 2 || (rt->gcZeal >= 1 && rt->gcPoke)
#endif
) {
goto do_gc;