Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 33a835e698b1975c7923ce572659b098f14747c4..976130218f98a741c4beaa9fc2078d74f32cef1c 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -2486,7 +2486,7 @@ AllocationResult Heap::AllocateWeakCell(HeapObject* value) { |
} |
result->set_map_no_write_barrier(weak_cell_map()); |
WeakCell::cast(result)->initialize(value); |
- WeakCell::cast(result)->clear_next(this); |
+ WeakCell::cast(result)->clear_next(the_hole_value()); |
return result; |
} |