Bug 1329933: Land testcase, r=test
authorHannes Verschore <hv1989@gmail.com>
Wed, 18 Jan 2017 10:37:00 +0100
changeset 374920 72cfa0d3be9f189bdf73a3e873c5869b7f649cdd
parent 374919 0e01a86cb52a38246ab95975e2939b82496f76f2
child 374921 c01f7957ff5227a21e7ce7d1a529193c2f3460cc
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest
bugs1329933
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 1329933: Land testcase, r=test
js/src/jit-test/tests/ion/bug1329933.js
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/ion/bug1329933.js
@@ -0,0 +1,10 @@
+
+function g(f) {
+    for (var j = 0; j < 999; ++j) {
+        f(0 / 0);
+    }
+}
+function h(x) {
+    x < 1 ? 0 : Math.imul(x || 0);
+}
+g(h);