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