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 a6e3c52e36
commit 2e4aad5a2f

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();
}