mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
07c939e83e
commit
6beaae8ad4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user