summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/pgo-bug1259476.js
blob: 63297264d5b71959808cd04c59aa438194089b21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// |jit-test| --ion-pruning=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;
            }
        }
    }
})()