summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug909601.js
blob: 01d481597e3eeb6afbc4bd39a22e6a862f25a4a1 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| --ion-eager
for (var i=0; i<3; i++)
    z = new Int32Array;

function f() {
    z.__proto__ = 2;
}

for (var i=0; i<3; i++)
    f();