]>
Commit | Line | Data |
---|---|---|
1 | function foo(p, a) { | |
2 | if (p) { | |
3 | var tmp = arguments; | |
4 | } | |
5 | return a; | |
6 | } | |
7 | ||
8 | function bar(p, a) { | |
9 | return foo(p, a); | |
10 | } | |
11 | ||
12 | noInline(bar); | |
13 | ||
14 | for (var i = 0; i < 10000; ++i) { | |
15 | var result = bar(false, 42); | |
16 | if (result != 42) | |
17 | throw "Error: bad result: " + result; | |
18 | } |