summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1143878.js
blob: 7860b065adf6f57ae1c84d6eb23e98edd75239a6 (plain)
1
2
3
4
5
6
7
8
9
10
function f(x, y) {
    if (!y)
        assertEq(x == x + x, false)
}
m = [true, null]
for (var j = 0; j < 2; ++j) {
    for (var k = 0; k < 2; ++k) {
        f(m[j], m[k])
    }
}