From: Michael Beck Date: Tue, 11 Nov 2008 12:10:00 +0000 (+0000) Subject: - cosmetic changes X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=e7820d1d46bfe2eae7dcaed57ed6ef52cc6a382c;p=libfirm - cosmetic changes [r23556] --- diff --git a/ir/opt/combo.c b/ir/opt/combo.c index d9c9ec98c..6d3f30f71 100644 --- a/ir/opt/combo.c +++ b/ir/opt/combo.c @@ -3243,11 +3243,10 @@ static int all_users_are_dead(const ir_node *irn) { for (i = 1; i <= n; ++i) { const ir_node *succ = irn->out[i].use; - const ir_node *block = get_nodes_block(succ); - const node_t *bl = get_irn_node(block); + const node_t *block = get_irn_node(get_nodes_block(succ)); const node_t *node; - if (bl->type.tv == tarval_unreachable) { + if (block->type.tv == tarval_unreachable) { /* block is unreachable */ continue; } @@ -3262,16 +3261,13 @@ static int all_users_are_dead(const ir_node *irn) { } /* all_user_are_dead */ /** - * Walker: Find reachable mode_M nose that have only + * Walker: Find reachable mode_M nodes that have only * unreachable users. These nodes must be kept later. */ static void find_kept_memory(ir_node *irn, void *ctx) { environment_t *env = ctx; node_t *node, *block; - if (is_Block(irn)) { - return; - } if (get_irn_mode(irn) != mode_M) return;