12017-06-27 Saam Barati <sbarati@apple.com>
2
3 JITStubRoutine::passesFilter should use isJITPC
4 https://bugs.webkit.org/show_bug.cgi?id=173906
5
6 Reviewed by NOBODY (OOPS!).
7
8 This patch makes JITStubRoutine use the isJITPC abstraction defined
9 inside ExecutableAllocator.h. Before, JITStubRoutine would was using
10 the harcoded platform size constant. This means it'd do the wrong thing
11 if Options::jitMemoryReservationSize() was larger than the defined
12 constant for that platform. This patch also removes up a bunch of
13 dead code in that file.
14
15 * jit/ExecutableAllocator.cpp:
16 * jit/ExecutableAllocator.h:
17 * jit/JITStubRoutine.h:
18 (JSC::JITStubRoutine::passesFilter):
19 (JSC::JITStubRoutine::canPerformRangeFilter): Deleted.
20 (JSC::JITStubRoutine::filteringStartAddress): Deleted.
21 (JSC::JITStubRoutine::filteringExtentSize): Deleted.
22