diff options
Diffstat (limited to 'js/src/jit-test/tests/ion/bug1134074.js')
-rw-r--r-- | js/src/jit-test/tests/ion/bug1134074.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug1134074.js b/js/src/jit-test/tests/ion/bug1134074.js new file mode 100644 index 000000000..524f5405a --- /dev/null +++ b/js/src/jit-test/tests/ion/bug1134074.js @@ -0,0 +1,10 @@ + +setJitCompilerOption("ion.warmup.trigger", 30); +function bar(i) { + if (i >= 40) + return; + if ("aaa,bbb,ccc".split(",")[0].length != 3) + throw "???"; + bar(i + 1); +} +bar(0); |