js/src/jit-test/tests/ion/bug762547.js

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:a6fb50d8e18f
1 if (typeof(gcPreserveCode) == "function")
2 gcPreserveCode();
3
4 function testStrict() {
5 var n = 10, a = [];
6 for (var i = 0; i < 10; ++i) {
7 a[0] = (gc());
8 a[1] = (n !== 10);
9 a[0x2 ] = (n === null);
10 a[3] = (n == null);
11 }
12 return ;
13 }
14 testStrict();

mercurial