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

Unified Diff: src/prettyprinter.cc

Issue 1374923002: AST pretty printer fix. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 months 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
« no previous file with comments | « src/ast.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/prettyprinter.cc
diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc
index 282057d739c10bc3c474c9812908cf051b51ea32..59db57ac7e0b93647fa6f459b592b0f2392293f5 100644
--- a/src/prettyprinter.cc
+++ b/src/prettyprinter.cc
@@ -434,9 +434,7 @@ static int FormatICSlotNode(Vector<char>* buf, Expression* node,
const char* node_name, FeedbackVectorICSlot slot) {
int pos = SNPrintF(*buf, "%s", node_name);
if (!slot.IsInvalid()) {
- const char* str =
- TypeFeedbackVector::Kind2String(node->FeedbackICSlotKind(0));
- pos = SNPrintF(*buf + pos, " ICSlot(%d, %s)", slot.ToInt(), str);
+ pos = SNPrintF(*buf + pos, " ICSlot(%d)", slot.ToInt());
}
return pos;
}
« no previous file with comments | « src/ast.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698