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

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