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

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