| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 9d6c055c1b33c908c582e1ce193d1e52e2c63803..03cb5ce91c7dbbfb1331a26e28b95a5cba946d26 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -1733,7 +1733,7 @@ MaybeObject* JSObject::AddFastProperty(Name* name,
|
| // hidden strings) and is not a real identifier.
|
| // Normalize the object if it will have too many fast properties.
|
| Isolate* isolate = GetHeap()->isolate();
|
| - if ((!IsIdentifier(isolate->unicode_cache(), name)
|
| + if ((!name->IsSymbol() && !IsIdentifier(isolate->unicode_cache(), name)
|
| && name != isolate->heap()->hidden_string()) ||
|
| (map()->unused_property_fields() == 0 &&
|
| TooManyFastProperties(properties()->length(), store_mode))) {
|
|
|