From f0543263df9b59c3d34ab1b0d4d7d925cd3c1c69 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Sat, 12 Jan 2008 02:51:08 +0000 Subject: [PATCH] when setting a block to dead, set its dom_depth to -1 to indicate that no dominance is avalable. It might not be possible to update the dom_info anymore! [r17338] --- ir/ir/irnode_t.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ir/ir/irnode_t.h b/ir/ir/irnode_t.h index 5d3e42ee5..11db681d4 100644 --- a/ir/ir/irnode_t.h +++ b/ir/ir/irnode_t.h @@ -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); + block->attr.block.dom.dom_depth = -1; block->attr.block.is_dead = 1; return block; } -- 2.20.1