when setting a block to dead, set its dom_depth to -1 to indicate that no dominance...
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sat, 12 Jan 2008 02:51:08 +0000 (02:51 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sat, 12 Jan 2008 02:51:08 +0000 (02:51 +0000)
[r17338]

ir/ir/irnode_t.h

index 5d3e42e..11db681 100644 (file)
@@ -797,6 +797,7 @@ _Block_block_visited(const ir_node *node) {
 static INLINE ir_node *
 _set_Block_dead(ir_node *block) {
        assert(_get_irn_op(block) == op_Block);
 static INLINE ir_node *
 _set_Block_dead(ir_node *block) {
        assert(_get_irn_op(block) == op_Block);
+       block->attr.block.dom.dom_depth = -1;
        block->attr.block.is_dead = 1;
        return block;
 }
        block->attr.block.is_dead = 1;
        return block;
 }