renamed new_type_pointer_mode() into new_type_pointer()
[libfirm] / ir / opt / strength_red.c
index e27927b..565a9f4 100644 (file)
@@ -110,7 +110,7 @@ induct_var_info *is_induction_variable (induct_var_info *info) {
     ir_node *pred = get_Phi_pred(info->itervar_phi, i);
     ir_op *op = get_irn_op(pred);
 
-    /* Compute if the induction variable is added or substracted wiht a constant . */
+    /* Compute if the induction variable is added or substracted with a constant . */
     if (op == op_Add || op == op_Sub) {
       ir_node *n_l = get_binop_left(pred);
       ir_node *n_r = get_binop_right(pred);
@@ -165,7 +165,7 @@ induct_var_info *is_induction_variable (induct_var_info *info) {
   /* Information about loop of itervar_phi. */
   info->l_itervar_phi = get_irn_loop(get_nodes_block(info->itervar_phi));
 
-  /* This "for" searchs for the Cmp successor of the
+  /* This "for" searches for the Cmp successor of the
      iter_var to reduce and marks if the iter_var have a Store
      successor or a successor out of loop.*/
   info->phi_pred = get_irn_n_outs(info->itervar_phi);
@@ -573,7 +573,7 @@ void reduce_strength(ir_graph *irg) {
   /* Call algorithm that computes the dominator trees. */
   compute_doms(irg);
   /* Call algorithm that computes the out edges */
-  compute_outs(irg);
+  compute_irg_outs(irg);
 
   /* -- Search expressions that can be optimized -- */
   irg_walk_graph(irg, NULL, reduce_itervar, NULL);