12018-11-27 Mark Lam <mark.lam@apple.com>
2
3 Introducing a ENABLE_SEPARATED_WX_HEAP macro.
4 https://bugs.webkit.org/show_bug.cgi?id=192013
5 <rdar://problem/45494310>
6
7 Reviewed by NOBODY (OOPS!).
8
9 This makes the code a little more readable.
10
11 I put the definition of ENABLE_SEPARATED_WX_HEAP in JSC's config.h instead of
12 Platform.h because ENABLE_SEPARATED_WX_HEAP is only needed inside JSC. Also,
13 ENABLE_SEPARATED_WX_HEAP depends on ENABLE(FAST_JIT_PERMISSIONS), which is only
14 defined for JSC.
15
16 * config.h:
17 * jit/ExecutableAllocator.cpp:
18 (JSC::FixedVMPoolExecutableAllocator::FixedVMPoolExecutableAllocator):
19 (JSC::FixedVMPoolExecutableAllocator::initializeSeparatedWXHeaps):
20 * jit/ExecutableAllocator.h:
21 (JSC::performJITMemcpy):
22 * runtime/Options.cpp:
23 (JSC::recomputeDependentOptions):
24