From 4aecc4d4f0818aa4959da0c328e9397e40218a65 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Sat, 25 Oct 2008 21:50:12 +0000 Subject: [PATCH] - removed useless checking of control flow input for default_compute() [r23193] --- ir/opt/combo.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ir/opt/combo.c b/ir/opt/combo.c index 20355b875..12185401c 100644 --- a/ir/opt/combo.c +++ b/ir/opt/combo.c @@ -1834,12 +1834,6 @@ static void split_by(partition_t *X, environment_t *env) { static void default_compute(node_t *node) { int i; ir_node *irn = node->node; - node_t *block = get_irn_node(get_nodes_block(irn)); - - if (block->type.tv == tarval_unreachable) { - node->type.tv = tarval_top; - return; - } /* if any of the data inputs have type top, the result is type top */ for (i = get_irn_arity(irn) - 1; i >= 0; --i) { -- 2.20.1