]>
Commit | Line | Data |
---|---|---|
81345200 A |
1 | function foo(a, b, c, p) { |
2 | a = b + c; | |
3 | if (p) { | |
4 | a++; | |
5 | return a; | |
6 | } | |
7 | } | |
8 | ||
9 | function bar(a, b) { | |
10 | return foo("hello", a, b, a <= b); | |
11 | } | |
12 | ||
13 | noInline(bar); | |
14 | ||
15 | for (var i = 0; i < 100000; ++i) { | |
16 | var result = bar(2000000000, 2000000000); | |
17 | if (result != 4000000001) | |
18 | throw "Error: bad result: " + result; | |
19 | } |