Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 3b291d2916cd8228d645f619f779adff0b5e9419..7b65e8b81d450e9aec2021427f08a50da92ed884 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -4456,7 +4456,7 @@ AllocationResult Heap::AllocateConstantPoolArray( |
int size = ConstantPoolArray::SizeFor(small); |
AllocationSpace space = SelectSpace(size, TENURED); |
- HeapObject* object; |
+ HeapObject* object = nullptr; |
{ |
AllocationResult allocation = |
AllocateRaw(size, space, OLD_SPACE, kDoubleAligned); |