summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug762547.js
blob: 8e9c20b5bece818d37d5fac788d1c0506e20254a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if (typeof(gcPreserveCode) == "function")
	gcPreserveCode();

function testStrict() {
    var n = 10, a = [];
    for (var i = 0; i < 10; ++i) {
        a[0] = (gc());
        a[1] = (n !== 10);
        a[0x2 ] = (n === null);
        a[3] = (n == null);
    }
    return  ;  
}
testStrict();