Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 7057e9a992f55f9f81bcb898fdb1738ca51fac95..a5d0dbf4398fe0b53b5fa14c12f18522d96bf5da 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -10540,21 +10540,6 @@ void Code::FindAllMaps(MapHandleList* maps) { |
} |
-void Code::FindAllTypes(TypeHandleList* types) { |
- ASSERT(is_inline_cache_stub()); |
- DisallowHeapAllocation no_allocation; |
- int mask = RelocInfo::ModeMask(RelocInfo::EMBEDDED_OBJECT); |
- for (RelocIterator it(this, mask); !it.done(); it.next()) { |
- RelocInfo* info = it.rinfo(); |
- Object* object = info->target_object(); |
- if (object->IsMap()) { |
- Handle<Map> map(Map::cast(object)); |
- types->Add(IC::MapToType<HeapType>(map, map->GetIsolate())); |
- } |
- } |
-} |
- |
- |
Code* Code::FindFirstHandler() { |
ASSERT(is_inline_cache_stub()); |
DisallowHeapAllocation no_allocation; |