Bug 819329 - Use AutoFlushCache when attaching finished compilations, r=dvander.

This commit is contained in:
Brian Hackett 2012-12-12 13:18:00 -07:00
parent 4282195cd5
commit 7eab3ec7a5

View File

@ -1084,6 +1084,7 @@ AttachFinishedCompilations(JSContext *cx)
// Release the worker thread lock and root the compiler for GC.
AutoTempAllocatorRooter root(cx, &builder->temp());
AutoUnlockWorkerThreadState unlock(cx->runtime);
AutoFlushCache afc("AttachFinishedCompilations");
success = codegen->link();
}