diff options
Diffstat (limited to 'js/src/jit-test/tests/ion/bug1204675.js')
-rw-r--r-- | js/src/jit-test/tests/ion/bug1204675.js | 13 |
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 000000000..b4971bedc --- /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, [objectEmulatingUndefined()]); +f(h, [false]); |