Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 9c6029eadd3bb6f0eade26a96d75ff4c4659d391..40763a4f0092d278758a12d51ecf83ed5ffd42b6 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -3154,6 +3154,7 @@ void Heap::AdjustLiveBytes(HeapObject* object, int by, InvocationMode mode) { |
FixedArrayBase* Heap::LeftTrimFixedArray(FixedArrayBase* object, |
int elements_to_trim) { |
+ CHECK_NOT_NULL(object); |
DCHECK(!object->IsFixedTypedArrayBase()); |
DCHECK(!object->IsByteArray()); |
const int element_size = object->IsFixedArray() ? kPointerSize : kDoubleSize; |