summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.h
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2015-11-10 13:01:28 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-11-10 13:01:28 +0000
commit83dcccb96ff8424fb4ab46bcda7c422d59a8c135 (patch)
tree8951c2aeef6489bdd53b26f78d3ff2400154b81a /compiler/optimizing/nodes.h
parent1963759e84664b51b617b00e15728f439895033b (diff)
parent8a7c0fe837bb00b02dfcfc678910d81d07fb2136 (diff)
Merge "Revert "Revert "ART: Update DCE to work with try/catch"""
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r--compiler/optimizing/nodes.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h
index ab53e63300..4421419f10 100644
--- a/compiler/optimizing/nodes.h
+++ b/compiler/optimizing/nodes.h
@@ -240,8 +240,9 @@ class HGraph : public ArenaObject<kArenaAllocGraph> {
// put deoptimization instructions, etc.
void TransformLoopHeaderForBCE(HBasicBlock* header);
- // Removes `block` from the graph.
- void DeleteDeadBlock(HBasicBlock* block);
+ // Removes `block` from the graph. Assumes `block` has been disconnected from
+ // other blocks and has no instructions or phis.
+ void DeleteDeadEmptyBlock(HBasicBlock* block);
// Splits the edge between `block` and `successor` while preserving the
// indices in the predecessor/successor lists. If there are multiple edges