summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/bug953337.js
blob: a5085abdd06260d215c989425096832a8db3ddce (plain)
1
2
3
4
5
6
7
8
setJitCompilerOption("ion.warmup.trigger", 20);
Function.prototype.__proto__ = new Boolean({ get: function() {} }, {});
function g(x, y) {}
function f() {
    g.apply(this, arguments);
}
for (var i = 0; i < 130; ++i)
    f(i, i*2);