From 7eab3ec7a5c672c340964b8d07a0d73ec92e0ecb Mon Sep 17 00:00:00 2001 From: Brian Hackett Date: Wed, 12 Dec 2012 13:18:00 -0700 Subject: [PATCH] Bug 819329 - Use AutoFlushCache when attaching finished compilations, r=dvander. --- js/src/ion/Ion.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/js/src/ion/Ion.cpp b/js/src/ion/Ion.cpp index 9017947b2e5..35b63c9274e 100644 --- a/js/src/ion/Ion.cpp +++ b/js/src/ion/Ion.cpp @@ -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(); }