- removed useless checking of control flow input for default_compute()
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sat, 25 Oct 2008 21:50:12 +0000 (21:50 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sat, 25 Oct 2008 21:50:12 +0000 (21:50 +0000)
[r23193]

ir/opt/combo.c

index 20355b8..1218540 100644 (file)
@@ -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) {