Remove obsolete outs invalidation
[libfirm] / ir / be / bestabs.c
index 3a164ae..02c243d 100644 (file)
@@ -338,10 +338,10 @@ static void print_array_type(stabs_handle *h, ir_type *tp, int local)
        ir_type      *etp     = get_array_element_type(tp);
        size_t       i, n     = get_array_n_dimensions(tp);
        unsigned     type_num = local ? h->next_type_nr++ : get_type_number(h, tp);
-       int          *perm;
+       size_t       *perm;
 
        be_emit_irprintf("%u=a", type_num);
-       NEW_ARR_A(size_t, perm, n);
+       perm = ALLOCAN(size_t, n);
        for (i = 0; i < n; ++i) {
                perm[i] = get_array_order(tp, i);
        }
@@ -699,7 +699,8 @@ static void stabs_method_begin(dbg_handle *handle, const ir_entity *ent)
 
        /* create the method entry */
        mtp = get_entity_type(ent);
-       mtp = get_type_unlowered(mtp);
+       if (is_lowered_type(mtp))
+               mtp = get_associated_type(mtp);
        if (get_method_n_ress(mtp) > 0)
                rtp = get_method_res_type(mtp, 0);
        else