summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1054241.js
blob: 7c0cf0a26e3e2f185db47746218332c5f708d773 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
setJitCompilerOption("baseline.warmup.trigger", 10);
setJitCompilerOption("ion.warmup.trigger", 20);

enableShellAllocationMetadataBuilder();
(function(){
  for(var i = 0; i < 100; i++) {
    try{
      var a = new Array(5);
      throw 1;
    } catch(e) {}
  }
})();