Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 7360172e5b5d6a1036cd5af55e016b2dbb8a6567..e459332c76b47fd4b4d353d76655e7bfd5a2ddd7 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -15710,6 +15710,7 @@ MaybeObject* NameDictionary::TransformPropertiesToFastFor( |
// instance descriptor. |
MaybeObject* maybe_key = heap->InternalizeString(String::cast(k)); |
if (!maybe_key->To(&key)) return maybe_key; |
+ if (key->Equals(heap->empty_string())) return this; |
} |
PropertyDetails details = DetailsAt(i); |