comparison: js/src/jit-test/tests/ion/bug710983.js
js/src/jit-test/tests/ion/bug710983.js
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 function g() { } |
|
2 |
|
3 g(); |
|
4 |
|
5 |
|
6 function f(a, g) { |
|
7 var x; |
|
8 if (a) { |
|
9 x = 12; |
|
10 print(a); |
|
11 x = a + 19; |
|
12 } else { |
|
13 x = 20 + a; |
|
14 g(a); |
|
15 x += a; |
|
16 } |
|
17 return a + x + 12; |
|
18 } |
|
19 assertEq(f(0, g), 32); |