summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1222905.js
blob: 3e1dc535571d50231753feae2a94576bbd22e42e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
for (var i = 0; i < 90; ++i) {
    y = {x: 1};
}

Object.defineProperty(Object.prototype, "zz", {set: (v) => 1 });

function f() {
    for (var i=0; i<1500; i++) {
        y[0] = 0;
        if (i > 1400)
            y.zz = 3;
    }
}
f();