summaryrefslogtreecommitdiff
path: root/compiler/optimizing/ssa_liveness_analysis.h
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2015-05-15 16:44:05 +0100
committer David Brazdil <dbrazdil@google.com> 2015-05-18 14:33:27 +0100
commit294a0509cf811061b8009ade61e76a1f94e248b2 (patch)
tree72e160cd689cc4fd786616e502571d54fddb8215 /compiler/optimizing/ssa_liveness_analysis.h
parent17f1bc531ea2f8c1a6fac3def13dee1b901949dd (diff)
ART: Revert change to LiveRange::Dump
Changes back the LiveRange printing format to "[start,end)" for better clarity. However, it removes the space after comma due to b/1189305 and prints the "ranges" attribute with curly brackets to improve readability. Bug: 21189305 Change-Id: Ic83025fa78d6f1edb5e0e39d66160182b0198ab8
Diffstat (limited to 'compiler/optimizing/ssa_liveness_analysis.h')
-rw-r--r--compiler/optimizing/ssa_liveness_analysis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/ssa_liveness_analysis.h b/compiler/optimizing/ssa_liveness_analysis.h
index ce4bbd4fc7..4b19c5b46a 100644
--- a/compiler/optimizing/ssa_liveness_analysis.h
+++ b/compiler/optimizing/ssa_liveness_analysis.h
@@ -76,7 +76,7 @@ class LiveRange FINAL : public ArenaObject<kArenaAllocMisc> {
}
void Dump(std::ostream& stream) const {
- stream << start_ << "-" << end_;
+ stream << "[" << start_ << "," << end_ << ")";
}
LiveRange* Dup(ArenaAllocator* allocator) const {