Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index ee9f8e41676b054dc34a7797677e68f3a940e6ef..cd4dcd080d48a866c8b059e980222a4b460c06d1 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5356,13 +5356,7 @@ HInstruction* HOptimizedGraphBuilder::BuildLoadNamedField( |
UniqueSet<Map>* maps = new(zone()) UniqueSet<Map>(map_list->length(), zone()); |
for (int i = 0; i < map_list->length(); ++i) { |
- Handle<Map> map = map_list->at(i); |
- maps->Add(Unique<Map>::CreateImmovable(map), zone()); |
- // TODO(bmeurer): Get rid of this shit! |
- if (map->CanTransition()) { |
- Map::AddDependentCompilationInfo( |
- map, DependentCode::kPrototypeCheckGroup, top_info()); |
- } |
+ maps->Add(Unique<Map>::CreateImmovable(map_list->at(i)), zone()); |
} |
return New<HLoadNamedField>( |
checked_object, checked_object, access, maps, info->field_type()); |