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

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