summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1134074.js
blob: 524f5405af68c51ddcb61287cb32d52e4e68f807 (plain)
1
2
3
4
5
6
7
8
9
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);