]>
Commit | Line | Data |
---|---|---|
ed1e77d3 A |
1 | function foo(a, b) { |
2 | return a + b === 2147483648; | |
3 | } | |
4 | noInline(foo); | |
5 | ||
6 | for (var i = 0; i < 10000; ++i) { | |
7 | var result = foo(1, 1); | |
8 | if (result !== false) | |
9 | throw "Error: bad result: " + result; | |
10 | } | |
11 | ||
12 | var result = foo(1073741824, 1073741824); | |
13 | if (result !== true) | |
14 | throw "Error: bad result at end: " + result; |