Index: src/ic/ia32/handler-compiler-ia32.cc |
diff --git a/src/ic/ia32/handler-compiler-ia32.cc b/src/ic/ia32/handler-compiler-ia32.cc |
index 3ff1287361b544a7c1ce8aeba4ab46e2a05da2f5..76fec7ad97af8d109b25a3719d5d483aa816ae18 100644 |
--- a/src/ic/ia32/handler-compiler-ia32.cc |
+++ b/src/ic/ia32/handler-compiler-ia32.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); |