| Index: src/profiler/heap-snapshot-generator.cc
|
| diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc
|
| index 748f3074a192689f23e9d79bc8e84b6f12704cbe..69f9022f075871f40a32781410c7228ee8c7e5bd 100644
|
| --- a/src/profiler/heap-snapshot-generator.cc
|
| +++ b/src/profiler/heap-snapshot-generator.cc
|
| @@ -1058,8 +1058,6 @@ bool V8HeapExplorer::ExtractReferencesPass1(int entry, HeapObject* obj) {
|
| ExtractAccessorInfoReferences(entry, AccessorInfo::cast(obj));
|
| } else if (obj->IsAccessorPair()) {
|
| ExtractAccessorPairReferences(entry, AccessorPair::cast(obj));
|
| - } else if (obj->IsCodeCache()) {
|
| - ExtractCodeCacheReferences(entry, CodeCache::cast(obj));
|
| } else if (obj->IsCode()) {
|
| ExtractCodeReferences(entry, Code::cast(obj));
|
| } else if (obj->IsBox()) {
|
| @@ -1444,19 +1442,6 @@ void V8HeapExplorer::ExtractAccessorPairReferences(
|
| }
|
|
|
|
|
| -void V8HeapExplorer::ExtractCodeCacheReferences(
|
| - int entry, CodeCache* code_cache) {
|
| - TagObject(code_cache->default_cache(), "(default code cache)");
|
| - SetInternalReference(code_cache, entry,
|
| - "default_cache", code_cache->default_cache(),
|
| - CodeCache::kDefaultCacheOffset);
|
| - TagObject(code_cache->normal_type_cache(), "(code type cache)");
|
| - SetInternalReference(code_cache, entry,
|
| - "type_cache", code_cache->normal_type_cache(),
|
| - CodeCache::kNormalTypeCacheOffset);
|
| -}
|
| -
|
| -
|
| void V8HeapExplorer::TagBuiltinCodeObject(Code* code, const char* name) {
|
| TagObject(code, names_->GetFormatted("(%s builtin)", name));
|
| }
|
|
|