| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 3ce3bdbd4999c52a46fd48aa9156cec92676ce16..01029f0052ccc9dfdefd41662852195e41f4fc4d 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);
|
| }
|
| @@ -7575,7 +7574,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();
|
| }
|
|
|
|
|