Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index e53df91d0ba67f99ba9bb1f422a4b68ff9fed72d..dfe7fce5ec39eae45531ca20f44f1efe4831b76b 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -7272,12 +7272,7 @@ Handle<Map> Map::TransitionToAccessorProperty(Handle<Map> map, |
Isolate* isolate = name->GetIsolate(); |
// Dictionary maps can always have additional data properties. |
- if (map->is_dictionary_map()) { |
- // For global objects, property cells are inlined. We need to change the |
- // map. |
- if (map->IsGlobalObjectMap()) return Copy(map, "GlobalAccessor"); |
- return map; |
- } |
+ if (map->is_dictionary_map()) return map; |
// Migrate to the newest map before transitioning to the new property. |
map = Update(map); |