Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 234bc9f563a14d148cc19967d902fb7cc1c4ff8e..864785729e0b899b1aa1cba7aa4e5722280c8ef2 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -3700,6 +3700,8 @@ void Heap::CreateFillerObjectAt(Address addr, int size) { |
bool Heap::CanMoveObjectStart(HeapObject* object) { |
+ if (!FLAG_move_object_start) return false; |
+ |
Address address = object->address(); |
if (lo_space()->Contains(object)) return false; |