Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(992)

Unified Diff: src/heap/heap.cc

Issue 1153233004: Fix compile failure for AIX (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698