summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/ion/bug1117099.js
blob: fdb014a81b3fc5bc243c8d2b13dcaae6cf8ebc5a (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| error: ReferenceError
function reportCompare (expected, actual, description) {
    if (expected != actual) {}
}
reportCompare(1);
addThis();
function addThis() {
    for (var i=0; i<UBound; i++)
	reportCompare( true | this && this );
}