[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser/esr24] Bug 952022 - Add missing detachAsmJSModule (r=bhackett, a=lsblakk)
commit e50a64fad059458f276b9bfd45f96452be9a457c
Author: Luke Wagner <luke@xxxxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits