Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index ad7df3765f14a2f9334a5970b565a137242e395d..a416e81a5f99cbc05fb10c39df2f513f288784b5 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -17526,7 +17526,7 @@ void Dictionary<Derived, Shape, Key>::CopyEnumKeysTo( |
} |
if (dictionary->IsDeleted(i)) continue; |
if (is_shadowing_key) { |
- accumulator->AddShadowKey(key); |
+ accumulator->AddShadowingKey(key); |
continue; |
} else { |
storage->set(properties, Smi::FromInt(i)); |
@@ -17566,7 +17566,7 @@ void Dictionary<Derived, Shape, Key>::CollectKeysTo( |
if (raw_dict->IsDeleted(i)) continue; |
PropertyDetails details = raw_dict->DetailsAt(i); |
if ((details.attributes() & filter) != 0) { |
- keys->AddShadowKey(k); |
+ keys->AddShadowingKey(k); |
continue; |
} |
if (filter & ONLY_ALL_CAN_READ) { |