Dial down recursion in new test added by abd2dcd555f4 so as to not chew up so much C stack when the mjit is disabled (r=orange)

This commit is contained in:
Luke Wagner 2011-06-02 18:39:48 -07:00
parent 07c939e83e
commit 6beaae8ad4

View File

@ -5,7 +5,10 @@ function f(x) {
f.apply(null, arguments);
}
a = [100];
// When the apply-optimization isn't on, each recursive call chews up the C
// stack, so don't push it.
a = [20];
for (var i = 0; i < 2000; ++i)
a.push(i);
f.apply(null, a);