Index: Source/platform/heap/ThreadState.cpp |
diff --git a/Source/platform/heap/ThreadState.cpp b/Source/platform/heap/ThreadState.cpp |
index 23b04d4089b6a6f3f216b165725bce358dc48bea..8e770eee3c54994795b3aa83e04016e2ccf60970 100644 |
--- a/Source/platform/heap/ThreadState.cpp |
+++ b/Source/platform/heap/ThreadState.cpp |
@@ -308,9 +308,8 @@ |
s_mainThreadUnderestimatedStackSize = StackFrameDepth::getUnderestimatedStackSize() - sizeof(void*); |
} |
- for (int heapIndex = 0; heapIndex < LargeObjectHeap; heapIndex++) |
- m_heaps[heapIndex] = new ThreadHeapForHeapPage(this, heapIndex); |
- m_heaps[LargeObjectHeap] = new ThreadHeapForLargeObject(this, LargeObjectHeap); |
+ for (int heapIndex = 0; heapIndex < NumberOfHeaps; heapIndex++) |
+ m_heaps[heapIndex] = new ThreadHeap(this, heapIndex); |
m_weakCallbackStack = new CallbackStack(); |
} |