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

enableGeckoProfilingWithSlowAssertions();
(function() {
   var n = 50;
   while (n--) {
       disableGeckoProfiling();
       if (!n)
	   return;
       enableGeckoProfilingWithSlowAssertions();
   }
})();