From: Michael Beck Date: Fri, 19 Oct 2007 19:24:40 +0000 (+0000) Subject: fixed typos X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=6612f2ab6cdc4414092d1e26a039f8f8ee866ab7;p=libfirm fixed typos use *_nodes_block() instead of *_irn_n(n, -1) [r16288] --- diff --git a/ir/opt/opt_osr.c b/ir/opt/opt_osr.c index 5bbff0935..27d34e95d 100644 --- a/ir/opt/opt_osr.c +++ b/ir/opt/opt_osr.c @@ -355,8 +355,8 @@ static ir_node *reduce(ir_node *orig, ir_node *iv, ir_node *rc, iv_env *env) { result = exact_copy(iv); - /* Beware: we must always create a new nduction variable with the same mode - as the node we are replacing. Espicially this means the mode might be changed + /* Beware: we must always create a new induction variable with the same mode + as the node we are replacing. Especially this means the mode might be changed from P to I and back. This is always possible, because we have only Phi, Add and Sub nodes. */ set_irn_mode(result, mode); @@ -1022,7 +1022,7 @@ static void clear_and_fix(ir_node *irn, void *env) if (is_Proj(irn)) { ir_node *pred = get_Proj_pred(irn); - set_irn_n(irn, -1, get_irn_n(pred, -1)); + set_nodes_block(irn, get_nodes_block(pred)); } }