comparison: js/src/jit-test/tests/ion/bug732863.js
js/src/jit-test/tests/ion/bug732863.js
- branch
- TOR_BUG_3246
- changeset 7
- 129ffea94266
equal
deleted
inserted
replaced
|
1 // Compiled |
|
2 function TestCase(a) { } |
|
3 |
|
4 // Not compiled (try) |
|
5 function reportCompare (actual) { |
|
6 TestCase(actual); |
|
7 try { } catch(ex) { } |
|
8 } |
|
9 |
|
10 // Compiled |
|
11 function addThis(bound) { |
|
12 actualvalues[bound] = undefined + actual; |
|
13 reportCompare(actualvalues[bound]); |
|
14 } |
|
15 |
|
16 var actual = ''; |
|
17 var actualvalues = []; |
|
18 addThis(0); |
|
19 actual = NaN; |
|
20 addThis(1); |