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

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