From 50f6ced9fc76b71b4685d8363d9615204ad6c897 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 23 Nov 2017 06:33:06 +0100 Subject: Remove unnecessary InvalidateCompilerOutputsForScript call. --- js/src/jit/Ion.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'js/src/jit/Ion.cpp') 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); } } -- cgit v1.2.3