diff options
Diffstat (limited to 'js/src/jit-test/tests/ion/bug1195588.js')
-rw-r--r-- | js/src/jit-test/tests/ion/bug1195588.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug1195588.js b/js/src/jit-test/tests/ion/bug1195588.js new file mode 100644 index 000000000..706788ea5 --- /dev/null +++ b/js/src/jit-test/tests/ion/bug1195588.js @@ -0,0 +1,15 @@ +function m(f) { + for (var k = 0; k < 2; ++k) { + try { + f() + } catch (e) {} + } +} +function g(i) { + x +} +m(g) +function h() { + g(Math.sqrt(+((function() {}) < 1))) +} +m(h) |