Index: Source/platform/heap/HeapTest.cpp |
diff --git a/Source/platform/heap/HeapTest.cpp b/Source/platform/heap/HeapTest.cpp |
index 04981c4e09010a2155d59e48b30e1e945ab84ec6..f18655b0f7abd942c9a21669011dcafcae30bdb0 100644 |
--- a/Source/platform/heap/HeapTest.cpp |
+++ b/Source/platform/heap/HeapTest.cpp |
@@ -1768,7 +1768,7 @@ TEST(HeapTest, BasicFunctionality) |
persistents[i] = 0; |
} |
- uint8_t* address = reinterpret_cast<uint8_t*>(Heap::reallocate<DynamicallySizedObject>(0, 100)); |
+ uint8_t* address = reinterpret_cast<uint8_t*>(Heap::allocate<DynamicallySizedObject>(100)); |
for (int i = 0; i < 100; i++) |
address[i] = i; |
address = reinterpret_cast<uint8_t*>(Heap::reallocate<DynamicallySizedObject>(address, 100000)); |
@@ -1872,6 +1872,7 @@ class SimpleFinalizedEagerObjectBase : public GarbageCollectedFinalized<SimpleFi |
public: |
virtual ~SimpleFinalizedEagerObjectBase() { } |
DEFINE_INLINE_TRACE() { } |
+ |
EAGERLY_FINALIZE(); |
protected: |
SimpleFinalizedEagerObjectBase() { } |