Bug 988486 - Split out GC state from JSRuntime into new class GCRuntime r=terrence

This commit is contained in:
Jon Coppeard
2014-04-30 12:13:55 +01:00
parent 1cd5271f43
commit 9e3e5bf37e
48 changed files with 1231 additions and 1188 deletions

View File

@@ -1503,7 +1503,7 @@ static void
GeneratorWriteBarrierPost(JSContext *cx, JSGenerator *gen)
{
#ifdef JSGC_GENERATIONAL
cx->runtime()->gcStoreBuffer.putWholeCell(gen->obj);
cx->runtime()->gc.storeBuffer.putWholeCell(gen->obj);
#endif
}