Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 2372c2e7c96ef7979bb6785194c84d322bb1e25d..6e55449a8983bec4bbb93ddb7e21a6419dc692cf 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -3173,7 +3173,6 @@ void HashTableBase::ElementsRemoved(int n) { |
// static |
int HashTableBase::ComputeCapacity(int at_least_space_for) { |
- const int kMinCapacity = 4; |
int capacity = base::bits::RoundUpToPowerOfTwo32(at_least_space_for * 2); |
return Max(capacity, kMinCapacity); |
} |
@@ -7577,7 +7576,7 @@ void JSReceiver::initialize_properties() { |
bool JSReceiver::HasFastProperties() { |
- DCHECK(properties()->IsDictionary() == map()->is_dictionary_map()); |
+ DCHECK_EQ(properties()->IsDictionary(), map()->is_dictionary_map()); |
return !properties()->IsDictionary(); |
} |