comparison: js/src/jit-test/tests/ion/bug739854.js
js/src/jit-test/tests/ion/bug739854.js
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 function test(x) { |
|
2 switch(x) { |
|
3 case 0: |
|
4 return 0; |
|
5 default: |
|
6 return -1; |
|
7 } |
|
8 } |
|
9 |
|
10 for(var i=0; i<100; i++) { |
|
11 assertEq(test(-0), 0); |
|
12 } |