Chromium Code Reviews| Index: src/objects-printer.cc |
| diff --git a/src/objects-printer.cc b/src/objects-printer.cc |
| index 5260193ca71650de79d77ff3c7e31dae53be3829..74818b575965a0730ecc75904e4dbf02f86fceee 100644 |
| --- a/src/objects-printer.cc |
| +++ b/src/objects-printer.cc |
| @@ -27,6 +27,7 @@ |
| #include "v8.h" |
| +#include "code-stubs.h" |
| #include "disassembler.h" |
| #include "disasm.h" |
| #include "jsregexp.h" |
| @@ -947,6 +948,8 @@ void PropertyCell::PropertyCellPrint(FILE* out) { |
| void Code::CodePrint(FILE* out) { |
| HeapObject::PrintHeader(out, "Code"); |
| + PrintF(out, " - major_key = %s\n", |
| + CodeStub::MajorName(CodeStub::GetMajorKey(this), true)); |
|
Hannes Payer (out of office)
2013/11/21 12:07:19
Why is this change in here?
Igor Sheludko
2013/11/27 12:52:01
Ok, I'll make a separate CL for that.
|
| #ifdef ENABLE_DISASSEMBLER |
| if (FLAG_use_verbose_printer) { |
| Disassemble(NULL, out); |