summaryrefslogtreecommitdiff
path: root/js/src/jit/Ion.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-11-23 06:33:06 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-08 21:21:27 +0100
commit652022515b9526b1fa6c0a7548fc664577f5ebd8 (patch)
tree098f58f2a1e66bb7162e6fafc3d196ce67084fd7 /js/src/jit/Ion.cpp
parentd2e4510998e45037573e4392cfd63012299fd447 (diff)
downloaduxp-652022515b9526b1fa6c0a7548fc664577f5ebd8.tar.gz
Remove unnecessary InvalidateCompilerOutputsForScript call.
Diffstat (limited to 'js/src/jit/Ion.cpp')
-rw-r--r--js/src/jit/Ion.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/js/src/jit/Ion.cpp b/js/src/jit/Ion.cpp
index 2a158ed7e8..c61b414e07 100644
--- a/js/src/jit/Ion.cpp
+++ b/js/src/jit/Ion.cpp
@@ -568,9 +568,6 @@ jit::LinkIonScript(JSContext* cx, HandleScript calleeScript)
// doesn't has code to handle it after linking happened. So it's
// not OK to throw a catchable exception from there.
cx->clearPendingException();
-
- // Reset the TypeZone's compiler output for this script, if any.
- InvalidateCompilerOutputsForScript(cx, calleeScript);
}
}