Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(678)

Unified Diff: src/objects-printer.cc

Issue 61463005: Supported folding of constant size allocation followed by dynamic size allocation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebasing Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/hydrogen-instructions.cc ('K') | « src/hydrogen-instructions.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« src/hydrogen-instructions.cc ('K') | « src/hydrogen-instructions.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698