Debian Codegraph @

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

raw
1 function inner(cond) {
2 var x;
3 if (cond) {
4 x = true;
5 } else {
6 x = false;
7 switch (this) {}
8 }
9 return x;
10 }
11
12 function outer(cond) {
13 if (inner(cond)) {
14 return 1;
15 } else {
16 return 2;
17 }
18 }
19
20 with ({}) {}
21 for (var i = 0; i < 1000; i++) {
22 outer(true);
23 outer(false);
24 }