valueset: Remove the unused link field.
[libfirm] / ir / lower / lower_hl.c
index 88da2fd..99ee5f6 100644 (file)
@@ -111,7 +111,6 @@ static void lower_sel(ir_node *sel)
                                lb = get_array_lower_bound(arr_ty, dim);
                                ub = get_array_upper_bound(arr_ty, dim);
 
-                               assert(irg == current_ir_graph);
                                if (! is_Unknown(lb))
                                        lb = new_rd_Conv(dbg, bl, copy_const_value(get_irn_dbg_info(sel), lb, bl), mode_Int);
                                else
@@ -283,9 +282,6 @@ static void lower_irnode(ir_node *irn, void *env)
        case iro_SymConst:
                lower_symconst(irn);
                break;
-       case iro_Cast:
-               exchange(irn, get_Cast_op(irn));
-               break;
        default:
                break;
        }
@@ -298,7 +294,7 @@ static void lower_irnode(ir_node *irn, void *env)
  */
 void lower_highlevel_graph(ir_graph *irg)
 {
-       /* Finally: lower SymConst-Size and Sel nodes, Casts, unaligned Load/Stores. */
+       /* Finally: lower SymConst-Size and Sel nodes, unaligned Load/Stores. */
        irg_walk_graph(irg, NULL, lower_irnode, NULL);
 }