Bug 1331405 - IonMonkey: Disable compiling JSOP_THROWMSG, r=jandem
authorHannes Verschore <hv1989@gmail.com>
Wed, 18 Jan 2017 11:37:18 +0100
changeset 377218 f4b6c78a36f8b9360fd47dacc6d95c24ce60fbd4
parent 377217 ffbbd9fe609b6e386e7e5600308171f1d92f0078
child 377219 6d0d4f9708620442c59939e7ea87cce08155e509
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs1331405
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1331405 - IonMonkey: Disable compiling JSOP_THROWMSG, r=jandem
js/src/jit-test/tests/ion/bug1331405.js
js/src/jit/IonControlFlow.cpp
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/ion/bug1331405.js
@@ -0,0 +1,4 @@
+// |jit-test| error:ReferenceError
+
+++f();
+try {} catch (e) {}
--- a/js/src/jit/IonControlFlow.cpp
+++ b/js/src/jit/IonControlFlow.cpp
@@ -332,16 +332,17 @@ ControlFlowGenerator::snoopControlFlow(J
 
       case JSOP_LABEL:
         return processLabel();
 
       case JSOP_TRY:
         return processTry();
 
       case JSOP_OPTIMIZE_SPREADCALL:
+      case JSOP_THROWMSG:
         // Not implemented yet.
         return ControlStatus::Abort;
 
       default:
         break;
     }
     return ControlStatus::None;
 }