Index: src/ic/x87/handler-compiler-x87.cc |
diff --git a/src/ic/x87/handler-compiler-x87.cc b/src/ic/x87/handler-compiler-x87.cc |
index 02a782a75b0ac4d868db1cd73a975a7353300ac3..fdb8fa5d1ea8511575b3bc55515d1564ad35a0d0 100644 |
--- a/src/ic/x87/handler-compiler-x87.cc |
+++ b/src/ic/x87/handler-compiler-x87.cc |
@@ -482,10 +482,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); |