fix two additional cases in heap.cc where the AIX
compiler is now reporting that a variable may be
uninitialized.
R=svenpanne@chromium.org, mbrandy@us.ibm.com
BUG=
Review URL: https://codereview.chromium.org/
1157053007
Cr-Commit-Position: refs/heads/master@{#28779}
if (length == 0) return empty_fixed_array();
DCHECK(!InNewSpace(filler));
- HeapObject* result;
+ HeapObject* result = nullptr;
{
AllocationResult allocation = AllocateRawFixedArray(length, pretenure);
if (!allocation.To(&result)) return allocation;
int size = ConstantPoolArray::SizeForExtended(small, extended);
AllocationSpace space = SelectSpace(size, TENURED);
- HeapObject* object;
+ HeapObject* object = nullptr;
{
AllocationResult allocation =
AllocateRaw(size, space, OLD_SPACE, kDoubleAligned);