js/src/jit-test/tests/ion/bug839315.js

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:e386e6fc0263
1 function f(x) {
2 switch(x) {
3 case 0:
4 case 100:
5 }
6 }
7 f("");
8 evaluate('f({})', { noScriptRval : true });
9
10 function g(x) {
11 switch(x) {
12 case 0.1:
13 case 100:
14 }
15 }
16
17 g(false);
18 evaluate('g({})', { noScriptRval : true });

mercurial