No Bug - Fix opt build bustage with generational GC enabled; r=sfink

--HG--
extra : rebase_source : 21769149621f7d5219d02d52e78e48d770e1eece
This commit is contained in:
Terrence Cole 2014-03-18 15:17:22 -07:00
parent 15e3a0db95
commit 1a7c88d95c

View File

@ -890,8 +890,10 @@ js::Nursery::growAllocableSpace()
void
js::Nursery::shrinkAllocableSpace()
{
#ifdef JS_GC_ZEAL
if (runtime()->gcZeal_ == ZealGenerationalGCValue)
return;
#endif
numActiveChunks_ = Max(numActiveChunks_ - 1, 1);
updateDecommittedRegion();
}