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

(function() {
   var n = 50;
   while (n--) {
       enableSPSProfilingWithSlowAssertions();
       if (!n)
	   return;
       disableSPSProfiling();
   }
})();