summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/cacheir/bug1500255.js
blob: 41b83fc02b7d9f134edd418ae4d00545b1012d0e (plain)
1
2
3
4
5
6
7
8
9
10
11
setJitCompilerOption("offthread-compilation.enable", 0);
setJitCompilerOption("baseline.warmup.trigger", 0);
setJitCompilerOption("ion.warmup.trigger", 0);

foo();

function foo() {
    Array.prototype.__proto__ = null;
    Array.prototype[1] = 'bar';
}