Chromium Code Reviews| Index: src/heap-snapshot-generator.cc |
| diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc |
| index b2bfa867a261c60a3d2afdd3c7b6925ac6655f11..13e5924745e95a9e406bb93dfaeb36641e9c95ff 100644 |
| --- a/src/heap-snapshot-generator.cc |
| +++ b/src/heap-snapshot-generator.cc |
| @@ -1499,8 +1499,8 @@ void V8HeapExplorer::TagBuiltinCodeObject(Code* code, const char* name) { |
| void V8HeapExplorer::TagCodeObject(Code* code) { |
| if (code->kind() == Code::STUB) { |
| TagObject(code, names_->GetFormatted( |
| - "(%s code)", CodeStub::MajorName( |
| - static_cast<CodeStub::Major>(code->major_key()), true))); |
| + "(%s code)", CodeStub::MajorName( |
|
Jakob Kummerow
2014/07/21 12:23:19
nit: consider pulling out a temp variable or two t
|
| + CodeStub::GetMajorKey(code), true))); |
| } |
| } |