[tor-commits] [tor-browser/esr24] Bug 952022 - Add missing detachAsmJSModule (r=bhackett, a=lsblakk)

mikeperry at torproject.org mikeperry at torproject.org
Fri Aug 29 05:26:38 UTC 2014


commit e50a64fad059458f276b9bfd45f96452be9a457c
Author: Luke Wagner <luke at mozilla.com>
Date:   Tue Apr 1 09:21:09 2014 -0500

    Bug 952022 - Add missing detachAsmJSModule (r=bhackett,a=lsblakk)
---
 js/src/jit/Ion.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/js/src/jit/Ion.cpp b/js/src/jit/Ion.cpp
index 99f8854..83cdb27 100644
--- a/js/src/jit/Ion.cpp
+++ b/js/src/jit/Ion.cpp
@@ -2044,6 +2044,8 @@ InvalidateActivation(FreeOp *fop, uint8_t *ionTop, bool invalidateAll)
         // in case anyone tries to read it.
         ionScript->purgeCaches(script->zone());
 
+        ionScript->detachDependentAsmJSModules(fop);
+
         // This frame needs to be invalidated. We do the following:
         //
         // 1. Increment the reference counter to keep the ionScript alive





More information about the tor-commits mailing list