Treat conversions between the same size as downconv to get rid of unnecessary convers...
[libfirm] / ir / ir / irdumptxt.c
index 4c4a879..5105942 100644 (file)
@@ -95,7 +95,7 @@ static FILE *text_open(const char *basename, const char * suffix1, const char *s
        F = fopen(fname, "w");   /* open file for writing */
        if (!F) {
                perror(fname);
-               assert(0);
+               abort();
        }
        free(fname);
 
@@ -702,6 +702,7 @@ void dump_entity_to_file_prefix(FILE *F, ir_entity *ent, char *prefix, unsigned
                                if (mask & mtp_property_noreturn) fprintf(F, "noreturn_function, ");
                                if (mask & mtp_property_nothrow)  fprintf(F, "nothrow_function, ");
                                if (mask & mtp_property_naked)    fprintf(F, "naked_function, ");
+                               if (mask & mtp_property_weak)     fprintf(F, "weak_function, ");
                        }
                        fprintf(F, "\n%s  calling convention: ", prefix);
                        if (cc & cc_reg_param) fprintf(F, "regparam, ");