summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1155807.js
blob: 7dd3a6de5d7a75c9f4a97a1ead46bc7b11f327f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
for (var i = 0; i < 2; i++) {
    setJitCompilerOption("ion.warmup.trigger", 8)
    function f(state) {
        this.s = state
    }
    f.prototype.g = function(v, y) {
        this.t
    }
    x = ['', '']
    j = new f(false)
    x.filter(j.g, j)
    x.filter(j.g, new f(false))
    j.__proto__ = {}
}