summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/pgo-bug1259476.js
blob: 2a6bc66d1c5cc33219a52a4d3867a5291ce1d5f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// |jit-test| --ion-pgo=on;

try {
    x = evalcx('');
    x.__proto__ = 0;
} catch (e) {}
(function() {
    for (var i = 0; i < 1; ++i) {
        if (i % 5 == 0) {
            for (let z of[0, 0, new Boolean(false), new Boolean(false),
                          new Boolean(false), new Boolean(false)]) {
                this.x;
            }
        }
    }
})()