Bug 1303809 - "Permaorange Aurora jit tests failing with ion\bug1293542.js" on a CLOSED TREE. r=bbouvier, a=test-only
authorHannes Verschore [:h4writer] <hv1989@gmail.com>
Tue, 20 Sep 2016 02:08:00 +0200
changeset 340127 1b6882dcc4bc7740ec4572b8407a9fc9579ba0e2
parent 340126 f16332940adb7f2b14de7379a1e8fe32a95a826a
child 340128 1091e76ac902ec4f56ed49b665e4861008489788
push id10037
push usercbook@mozilla.com
push dateTue, 20 Sep 2016 10:34:38 +0000
treeherdermozilla-aurora@1b6882dcc4bc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbbouvier, test-only
bugs1303809, 1293542
milestone51.0a2
Bug 1303809 - "Permaorange Aurora jit tests failing with ion\bug1293542.js" on a CLOSED TREE. r=bbouvier, a=test-only
js/src/jit-test/tests/ion/bug1293542.js
--- a/js/src/jit-test/tests/ion/bug1293542.js
+++ b/js/src/jit-test/tests/ion/bug1293542.js
@@ -1,7 +1,7 @@
 
-function f(x) {
-    return (x ** (1 / ~4294967297)) && x;
-};
+try { eval("3 ** 4") } catch (e if e instanceof SyntaxError) { quit(); };
+
+var f = new Function("x", "return (x ** (1 / ~4294967297)) && x");
 for (var i = 0; i < 2; ++i) {
     assertEq(f(-Infinity), 0);
 }