1 // Tests that toInt32 conversion on a boolean does not trigger us to take
2 // an unconditional OSR exit.
9 for (var i = 0; i < 1000000; ++i) {
11 result += foo(i, i + ((i%2) * 2 - 1));
15 if (result != 1431655765) {
16 print("Bad result: " + result);