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

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