Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 11294011a0557ee339603308c9adb65891e41b44..ae504dc3e3963e5819c4344796c3520f66ba0c97 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -2349,6 +2349,7 @@ void FixedDoubleArray::FillWithHoles(int from, int to) { |
Object* WeakFixedArray::Get(int index) const { |
Object* raw = FixedArray::cast(this)->get(index + kFirstIndex); |
if (raw->IsSmi()) return raw; |
+ DCHECK(raw->IsWeakCell()); |
return WeakCell::cast(raw)->value(); |
} |