summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1204675.js
blob: b4971bedc4cfd9dc9d32d7992691507a9ad37bf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function f(m, x) {
        for (var i = 0; i < 2; ++i) {
                    print(m(x[0]));
                        }
}
function g() {
        return false;
}
function h(y) {
        return (y === 0);
}
f(g, [objectEmulatingUndefined()]);
f(h, [false]);