]>
Commit | Line | Data |
---|---|---|
ed1e77d3 A |
1 | function foo() { return 42; } |
2 | ||
3 | function bar() { return foo.apply(this, arguments); } | |
4 | ||
5 | function baz() { return bar(1, 2, 3); } | |
6 | ||
7 | noInline(baz); | |
8 | ||
9 | for (var i = 0; i < 10000; ++i) { | |
10 | var result = baz(); | |
11 | if (result != 42) | |
12 | throw "Error: bad result: " + result; | |
13 | } | |
14 | ||
15 |