| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 98b3056eedf7e528247cf4624c63925aff438566..ae707016c78060257b46a62314fd46c5cb1d6416 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -9727,7 +9727,7 @@ Handle<Map> Map::TransitionToAccessorProperty(Handle<Map> map,
|
| Object* current = Handle<AccessorPair>::cast(maybe_pair)->get(component);
|
| if (current == *accessor) return map;
|
|
|
| - if (!current->IsTheHole()) {
|
| + if (!current->IsNull()) {
|
| return Map::Normalize(map, mode, "AccessorsOverwritingAccessors");
|
| }
|
|
|
| @@ -10341,7 +10341,7 @@ Handle<Object> AccessorPair::GetComponent(Handle<AccessorPair> accessor_pair,
|
| .ToHandleChecked();
|
| }
|
| Isolate* isolate = accessor_pair->GetIsolate();
|
| - if (accessor->IsTheHole()) {
|
| + if (accessor->IsNull()) {
|
| return isolate->factory()->undefined_value();
|
| }
|
| return handle(accessor, isolate);
|
|
|