summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/nodes.h
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2014-05-14 09:43:38 +0100
committerNicolas Geoffray <ngeoffray@google.com>2014-05-16 09:07:31 +0100
commit0d3f578909d0d1ea072ca68d78301b6fb7a44451 (patch)
tree5a90ec26839afa06294a46e67a4c4481982c47bf /compiler/optimizing/nodes.h
parentc2ffcecb61e474f29f3c6a8721dfd00e0252b1f8 (diff)
downloadart-0d3f578909d0d1ea072ca68d78301b6fb7a44451.zip
art-0d3f578909d0d1ea072ca68d78301b6fb7a44451.tar.gz
art-0d3f578909d0d1ea072ca68d78301b6fb7a44451.tar.bz2
Linearize the graph before creating live ranges.
Change-Id: I02eb5671e3304ab062286131745c1366448aff58
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r--compiler/optimizing/nodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h
index 27b87ca..1085c10 100644
--- a/compiler/optimizing/nodes.h
+++ b/compiler/optimizing/nodes.h
@@ -445,7 +445,7 @@ class HInstruction : public ArenaObject {
bool HasUses() const { return uses_ != nullptr || env_uses_ != nullptr; }
size_t NumberOfUses() const {
- // TODO: Optimize this method if it is used outside of the HGraphTracer.
+ // TODO: Optimize this method if it is used outside of the HGraphVisualizer.
size_t result = 0;
HUseListNode<HInstruction>* current = uses_;
while (current != nullptr) {