summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug589461.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--js/src/jit-test/tests/jaeger/bug589461.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/jaeger/bug589461.js b/js/src/jit-test/tests/jaeger/bug589461.js
new file mode 100644
index 0000000000..89fc7acad4
--- /dev/null
+++ b/js/src/jit-test/tests/jaeger/bug589461.js
@@ -0,0 +1,7 @@
+function f(h, i, Q) {
+ var L = Q;
+ var H = h;
+
+ return h[i] * L ^ L * 0x1010100;
+}
+assertEq(f([6], 0, 12345), 1768429654);