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