summaryrefslogtreecommitdiff
path: root/compiler/optimizing/ssa_liveness_analysis.h
diff options
context:
space:
mode:
author Aart Bik <ajcbik@google.com> 2016-09-14 10:52:13 -0700
committer Aart Bik <ajcbik@google.com> 2016-09-14 14:09:27 -0700
commit20e9db6db787e007e7032878c9899b28ec43e93f (patch)
tree9d2071fd7f286ccf408044b4366714a481351393 /compiler/optimizing/ssa_liveness_analysis.h
parent26ead4975e1752e8ae2f5ed6fda73876c4f9ff59 (diff)
Make LinearizeGraph() public (and move it to nodes files)
Rationale: It is strange that HLinearOrderIterator is defined (and visible) in nodes.h, but clients have no way to build this order. This CL makes the building available at the usual place. Change-Id: Ib66f2edf6dfc8edd6b429bd4bea3ac7e37440b28 Tests: m test-art
Diffstat (limited to 'compiler/optimizing/ssa_liveness_analysis.h')
-rw-r--r--compiler/optimizing/ssa_liveness_analysis.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/optimizing/ssa_liveness_analysis.h b/compiler/optimizing/ssa_liveness_analysis.h
index 0be16118b1..b62bf4e5f9 100644
--- a/compiler/optimizing/ssa_liveness_analysis.h
+++ b/compiler/optimizing/ssa_liveness_analysis.h
@@ -1186,12 +1186,6 @@ class SsaLivenessAnalysis : public ValueObject {
static constexpr const char* kLivenessPassName = "liveness";
private:
- // Linearize the graph so that:
- // (1): a block is always after its dominator,
- // (2): blocks of loops are contiguous.
- // This creates a natural and efficient ordering when visualizing live ranges.
- void LinearizeGraph();
-
// Give an SSA number to each instruction that defines a value used by another instruction,
// and setup the lifetime information of each instruction and block.
void NumberInstructions();