Index: Source/platform/heap/HeapAllocator.h |
diff --git a/Source/platform/heap/HeapAllocator.h b/Source/platform/heap/HeapAllocator.h |
index 45ce9f91ed55d922088972cffbd6a7f5f88b8999..a6245a334d207a6536cf853041b7c4491c9e6e39 100644 |
--- a/Source/platform/heap/HeapAllocator.h |
+++ b/Source/platform/heap/HeapAllocator.h |
@@ -99,7 +99,7 @@ public: |
template <typename Return, typename Metadata> |
static Return malloc(size_t size) |
{ |
- return reinterpret_cast<Return>(Heap::allocate<Metadata>(size)); |
+ return reinterpret_cast<Return>(Heap::allocate<Metadata>(size, IsEagerlyFinalizedType<Metadata>::value)); |
} |
static void free(void* address) { } |
template<typename T> |