summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/profiler/enterjit-osr-enabling-earlyret.js
blob: e63531f50468d6532471228e91ce156dd0b90ff1 (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--) {
       enableGeckoProfilingWithSlowAssertions();
       if (!n)
	   return;
       disableGeckoProfiling();
   }
})();