Fixed printing during DCE.
authorsvenpanne <svenpanne@chromium.org>
Thu, 8 Jan 2015 09:53:53 +0000 (01:53 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 8 Jan 2015 09:54:01 +0000 (09:54 +0000)
Removed a superfluous space on the way.

BUG=v8:3679
LOG=y

Review URL: https://codereview.chromium.org/843673004

Cr-Commit-Position: refs/heads/master@{#25988}

src/hydrogen-dce.cc

index 360b6945f3def6e28c19865d99ef6c5309da8cf2..c653fc1b608eddfc3cd755c7b93a7ccf089294d5 100644 (file)
@@ -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;
 }