Index: src/ic/arm64/handler-compiler-arm64.cc |
diff --git a/src/ic/arm64/handler-compiler-arm64.cc b/src/ic/arm64/handler-compiler-arm64.cc |
index efa96e2d25a354494ae5b2bc12848b7901355a4f..0dce85261b9a5729a7bbbdb479ebf50fbea8137c 100644 |
--- a/src/ic/arm64/handler-compiler-arm64.cc |
+++ b/src/ic/arm64/handler-compiler-arm64.cc |
@@ -508,10 +508,7 @@ Register PropertyHandlerCompiler::CheckPrototypes( |
name, scratch2, miss); |
} else if (current_map->is_dictionary_map()) { |
DCHECK(!current_map->IsJSGlobalProxyMap()); // Proxy maps are fast. |
- if (!name->IsUniqueName()) { |
- DCHECK(name->IsString()); |
- name = factory()->InternalizeString(Handle<String>::cast(name)); |
- } |
+ DCHECK(name->IsUniqueName()); |
DCHECK(current.is_null() || (current->property_dictionary()->FindEntry( |
name) == NameDictionary::kNotFound)); |