bug1866540.js (347B)
1 // |jit-test| skip-if: helperThreadCount() === 0 2 3 // On x86, MaxCodePages is 2240. Because we sometimes leave a one-page 4 // gap, this will guarantee there are no free two-page chunks. 5 for (var i = 0; i < 2200; i++) { 6 evalcx("function s(){}", evalcx('lazy')); 7 } 8 9 // Allocating trampolines for the JitRuntime requires two pages. 10 evalInWorker("");