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

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