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

Unified Diff: src/hydrogen.cc

Issue 7273033: --trace_hydrogen cleanup (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Also remove vestigial <|@ tail Created 9 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index 38676624c618eeb3fa19fb257c75d37c3191c186..5dd647f1c2b00997461291610f64eddd1f5a2785 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -6302,8 +6302,6 @@ void HTracer::Trace(const char* name, HGraph* graph, LChunk* chunk) {
HBasicBlock* current = blocks->at(i);
Tag block_tag(this, "block");
PrintBlockProperty("name", current->block_id());
- PrintIntProperty("from_bci", -1);
- PrintIntProperty("to_bci", -1);
if (!current->predecessors()->is_empty()) {
PrintIndent();
@@ -6327,9 +6325,6 @@ void HTracer::Trace(const char* name, HGraph* graph, LChunk* chunk) {
trace_.Add("\n");
}
- PrintEmptyProperty("xhandlers");
- PrintEmptyProperty("flags");
-
if (current->dominator() != NULL) {
PrintBlockProperty("dominator", current->dominator()->block_id());
}
@@ -6366,14 +6361,13 @@ void HTracer::Trace(const char* name, HGraph* graph, LChunk* chunk) {
Tag HIR_tag(this, "HIR");
HInstruction* instruction = current->first();
while (instruction != NULL) {
- int bci = 0;
int uses = instruction->UseCount();
PrintIndent();
- trace_.Add("%d %d ", bci, uses);
+ trace_.Add("%d ", uses);
instruction->PrintNameTo(&trace_);
trace_.Add(" ");
instruction->PrintTo(&trace_);
- trace_.Add(" <|@\n");
+ trace_.Add("\n");
instruction = instruction->next();
}
}
@@ -6392,7 +6386,7 @@ void HTracer::Trace(const char* name, HGraph* graph, LChunk* chunk) {
trace_.Add("%d ",
LifetimePosition::FromInstructionIndex(i).Value());
linstr->PrintTo(&trace_);
- trace_.Add(" <|@\n");
+ trace_.Add("\n");
}
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698