| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 4572af446d984a8aca197d02baff4a75a3164079..ac0774f4ba7ba0da020dd2eaf547bdd23817825d 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -4763,7 +4763,7 @@ void JSObject::RequireSlowElements(SeededNumberDictionary* dictionary) {
|
| dictionary->set_requires_slow_elements();
|
| // TODO(verwaest): Remove this hack.
|
| if (map()->is_prototype_map()) {
|
| - GetHeap()->ClearAllICsByKind(Code::KEYED_STORE_IC);
|
| + GetHeap()->ClearAllKeyedStoreICs();
|
| }
|
| }
|
|
|
| @@ -12106,7 +12106,7 @@ MaybeHandle<Object> JSObject::SetPrototype(Handle<JSObject> object,
|
| // If the prototype chain didn't previously have element callbacks, then
|
| // KeyedStoreICs need to be cleared to ensure any that involve this
|
| // map go generic.
|
| - object->GetHeap()->ClearAllICsByKind(Code::KEYED_STORE_IC);
|
| + object->GetHeap()->ClearAllKeyedStoreICs();
|
| }
|
|
|
| heap->ClearInstanceofCache();
|
| @@ -14520,7 +14520,7 @@ void SeededNumberDictionary::UpdateMaxNumberKey(uint32_t key,
|
| if (key > kRequiresSlowElementsLimit) {
|
| if (used_as_prototype) {
|
| // TODO(verwaest): Remove this hack.
|
| - GetHeap()->ClearAllICsByKind(Code::KEYED_STORE_IC);
|
| + GetHeap()->ClearAllKeyedStoreICs();
|
| }
|
| set_requires_slow_elements();
|
| return;
|
|
|