Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 8bcfcd946a0ccf4dcfd830b1b2075996dad1e0b4..41703b90abaf4022bf3861db79699b3c10ce600d 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -10514,7 +10514,7 @@ void Code::FindAllTypes(TypeHandleList* types) { |
Object* object = info->target_object(); |
if (object->IsMap()) { |
Handle<Map> map(Map::cast(object)); |
- types->Add(IC::MapToType(map)); |
+ types->Add(IC::MapToType<HeapType>(map, map->GetIsolate())); |
} |
} |
} |