Bug 989414 - Speed up the C++ side of write barriers fired from jitcode; r=jonco

This commit is contained in:
Terrence Cole
2014-05-01 09:26:17 -07:00
parent 20186e3eff
commit 93dfb0b08a
5 changed files with 20 additions and 10 deletions

View File

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