Index: Source/platform/heap/ThreadState.cpp |
diff --git a/Source/platform/heap/ThreadState.cpp b/Source/platform/heap/ThreadState.cpp |
index 5d03d506b62c6953bf005dcc9baac1643bbe83a4..d5e221ad3a9ce9ba86e81df00e00b26680cf15db 100644 |
--- a/Source/platform/heap/ThreadState.cpp |
+++ b/Source/platform/heap/ThreadState.cpp |
@@ -322,8 +322,9 @@ ThreadState::ThreadState() |
s_mainThreadUnderestimatedStackSize = 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(); |
} |