summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1204675.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/ion/bug1204675.js')
-rw-r--r--js/src/jit-test/tests/ion/bug1204675.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug1204675.js b/js/src/jit-test/tests/ion/bug1204675.js
new file mode 100644
index 0000000000..174aa0604e
--- /dev/null
+++ b/js/src/jit-test/tests/ion/bug1204675.js
@@ -0,0 +1,13 @@
+function f(m, x) {
+ for (var i = 0; i < 2; ++i) {
+ print(m(x[0]));
+ }
+}
+function g() {
+ return false;
+}
+function h(y) {
+ return (y === 0);
+}
+f(g, [createIsHTMLDDA()]);
+f(h, [false]);