summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1323854.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/ion/bug1323854.js')
-rw-r--r--js/src/jit-test/tests/ion/bug1323854.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug1323854.js b/js/src/jit-test/tests/ion/bug1323854.js
new file mode 100644
index 0000000000..7021d6a6d9
--- /dev/null
+++ b/js/src/jit-test/tests/ion/bug1323854.js
@@ -0,0 +1,15 @@
+
+g = (function () {
+ "use asm";
+ function f(i0, d1) {
+ d1 = 4258326539 >>> 0;
+ switch (-8 && i0) {
+ case -1:
+ d1 = 0;
+ case 0:
+ }
+ }
+ return f;
+})();
+g();
+g();