]>
Commit | Line | Data |
---|---|---|
81345200 A |
1 | function foo(o, a, b, c, d, e, f, g, h, i, j) { |
2 | return o.f; | |
3 | } | |
4 | ||
5 | function bar(o) { | |
6 | return foo(o); | |
7 | } | |
8 | ||
9 | noInline(foo); | |
10 | noInline(bar); | |
11 | ||
12 | for (var i = 0; i < 100000; ++i) | |
13 | bar({f:42}); | |
14 | ||
15 | var result = bar({g:24, f:43}); | |
16 | if (result != 43) | |
17 | throw "Error: bad result: " + result; | |
18 |