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

Unified Diff: src/hydrogen-dce.cc

Issue 843673004: Fixed printing during DCE. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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-dce.cc
diff --git a/src/hydrogen-dce.cc b/src/hydrogen-dce.cc
index 360b6945f3def6e28c19865d99ef6c5309da8cf2..c653fc1b608eddfc3cd755c7b93a7ccf089294d5 100644
--- a/src/hydrogen-dce.cc
+++ b/src/hydrogen-dce.cc
@@ -32,12 +32,13 @@ void HDeadCodeEliminationPhase::MarkLive(
void HDeadCodeEliminationPhase::PrintLive(HValue* ref, HValue* instr) {
+ AllowHandleDereference allow_deref;
OFStream os(stdout);
os << "[MarkLive ";
if (ref != NULL) {
os << *ref;
} else {
- os << "root ";
+ os << "root";
}
os << " -> " << *instr << "]" << std::endl;
}
« 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