Ticket #62027: patch-qtwebkit-FastMalloc.diff
File patch-qtwebkit-FastMalloc.diff, 802 bytes (added by jhoyt4, 4 years ago) |
---|
-
Source/WTF/wtf/FastMalloc.cpp
old new 93 93 #include <malloc/malloc.h> 94 94 #endif 95 95 96 #if OS(DARWIN) && CPU(ARM64) 97 #include <arm/param.h> 98 #endif 99 96 100 #ifndef NO_TCMALLOC_SAMPLES 97 101 #ifdef WTF_CHANGES 98 102 #define NO_TCMALLOC_SAMPLES … … 628 632 // sense. In particular, if kMaxSize increases, you may have to 629 633 // increase kNumClasses as well. 630 634 #if OS(DARWIN) 631 # define K_PAGE_SHIFT PAGE_SHIFT 635 # if CPU(X86_64) 636 # define K_PAGE_SHIFT I386_PGSHIFT 637 # elif CPU(ARM64) 638 # define K_PAGE_SHIFT PGSHIFT 639 # else 640 # define K_PAGE_SHIFT PAGE_SHIFT 641 # endif 632 642 # if (K_PAGE_SHIFT == 12) 633 643 # define K_NUM_CLASSES 68 634 644 # elif (K_PAGE_SHIFT == 14)