]> git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/varargs-inlining-underflow.js
02a94f841a1a0cecee753cc68517bc77ea7d0bb8
[apple/javascriptcore.git] / tests / stress / varargs-inlining-underflow.js
1 function baz() {
2 }
3
4 function bar() {
5 baz.apply(this, arguments);
6 }
7
8 for (var i = 0; i < 1000; ++i)
9 bar(1, 2, 3, 4, 5, 6, 7);
10
11 function foo() {
12 bar();
13 }
14
15 noInline(foo);
16
17 for (var i = 0; i < 10000; ++i)
18 foo();