Skip to content

Commit ec40151

Browse files
author
Dario Segura
committed
-[HOUSEKEEPING] Cleaned up commented code.
1 parent 8d6d8d8 commit ec40151

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

WTF/wtf/FastMalloc.cpp

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -629,29 +629,6 @@ static ALWAYS_INLINE uint32_t freedObjectEndPoison()
629629
//-------------------------------------------------------------------
630630
// Configuration
631631
//-------------------------------------------------------------------
632-
633-
//// Not all possible combinations of the following parameters make
634-
//// sense. In particular, if kMaxSize increases, you may have to
635-
//// increase kNumClasses as well.
636-
//#if OS(DARWIN)
637-
//# define K_PAGE_SHIFT PAGE_SHIFT
638-
//# if (K_PAGE_SHIFT == 12)
639-
//# define K_NUM_CLASSES 68
640-
//# elif (K_PAGE_SHIFT == 14)
641-
//# define K_NUM_CLASSES 77
642-
//# else
643-
//# error "Unsupported PAGE_SHIFT amount"
644-
//# endif
645-
//#else
646-
//# define K_PAGE_SHIFT 12
647-
//# define K_NUM_CLASSES 68
648-
//#endif
649-
//static const size_t kPageShift = K_PAGE_SHIFT;
650-
//static const size_t kPageSize = 1 << kPageShift;
651-
//static const size_t kMaxSize = 32u * 1024;
652-
//static const size_t kAlignShift = 3;
653-
//static const size_t kAlignment = 1 << kAlignShift;
654-
//static const size_t kNumClasses = K_NUM_CLASSES;
655632

656633
// Type that can hold the length of a run of pages
657634
typedef uintptr_t Length;

0 commit comments

Comments
 (0)