Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index fac9535a6a6eeab7506cdaae951bd9051ddf5295..331c16a07fab0d976d2768751b0847e1241679b6 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -3722,7 +3722,7 @@ AllocationResult Heap::CopyCode(Code* code) { |
new_constant_pool = empty_constant_pool_array(); |
} |
- HeapObject* result; |
+ HeapObject* result = NULL; |
// Allocate an object the same size as the code object. |
int obj_size = code->Size(); |
allocation = AllocateRaw(obj_size, CODE_SPACE, CODE_SPACE); |