diff options
author | 2015-11-10 13:01:28 +0000 | |
---|---|---|
committer | 2015-11-10 13:01:28 +0000 | |
commit | 83dcccb96ff8424fb4ab46bcda7c422d59a8c135 (patch) | |
tree | 8951c2aeef6489bdd53b26f78d3ff2400154b81a /compiler/optimizing/nodes.h | |
parent | 1963759e84664b51b617b00e15728f439895033b (diff) | |
parent | 8a7c0fe837bb00b02dfcfc678910d81d07fb2136 (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.h | 5 |
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 |