summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1158632.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/ion/bug1158632.js')
-rw-r--r--js/src/jit-test/tests/ion/bug1158632.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug1158632.js b/js/src/jit-test/tests/ion/bug1158632.js
new file mode 100644
index 000000000..b80dd0351
--- /dev/null
+++ b/js/src/jit-test/tests/ion/bug1158632.js
@@ -0,0 +1,13 @@
+for (var j = 0; j < 1; ++j) {
+ function f(x) {
+ x = 4294967295 >>> 4294967295 % x
+ switch (-1) {
+ case 1:
+ // case 0:
+ case -1:
+ x = 0;
+ // default:
+ }
+ }
+ f();
+}