Use bump allocator for initial property storage
[WebKit-https.git] / Source / JavaScriptCore / heap / NewSpace.cpp
index 2f16f99..866082d 100644 (file)
@@ -32,7 +32,9 @@ namespace JSC {
 class Structure;
 
 NewSpace::NewSpace(Heap* heap)
-    : m_waterMark(0)
+    : m_propertyStorageNursery(static_cast<char*>(fastMalloc(PropertyStorageNurserySize)))
+    , m_propertyStorageAllocationPoint(m_propertyStorageNursery)
+    , m_waterMark(0)
     , m_highWaterMark(0)
     , m_heap(heap)
 {