Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 475ca024175f75ea368cad7fcd0235e42e7a7fcc..e064ce60569bfc63bc33b7fd943271394a164080 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -2375,8 +2375,7 @@ |
void FixedArray::set(int index, Object* value) { |
DCHECK_NE(GetHeap()->fixed_cow_array_map(), map()); |
DCHECK(IsFixedArray()); |
- DCHECK_GE(index, 0); |
- DCHECK_LT(index, this->length()); |
+ DCHECK(index >= 0 && index < this->length()); |
int offset = kHeaderSize + index * kPointerSize; |
WRITE_FIELD(this, offset, value); |
WRITE_BARRIER(GetHeap(), this, offset, value); |