summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/cacheir/bug1502143.js
blob: 2cc7bc1f55fa2b3dd58106ae5d09314578818598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
setJitCompilerOption("baseline.warmup.trigger", 10);
setJitCompilerOption("ion.warmup.trigger", 100);

main();

function main() {
    new Uint8Array(1024).buffer;
    var b = [];
    b[10000] = 1;
    [].concat(b)
    var a2 = new Int32Array(2);
    b.__proto__ = a2;
    [].concat(b)
}