summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1870925.js
blob: 48182a04e4ca167d083b2400432a8633222dba95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// |jit-test| --no-ggc

let x = [[]];
for (let i = 0; i < 25; i++) {
  for (let j = 0; j < 25; j++) {
    (function () {
      x[i] | 0;
    })();
  }
}

verifyprebarriers();
bailAfter(1);
verifyprebarriers();