X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firdumptxt.c;h=e7e5cebc6611a229bbfacc63ece3e78ce7b187f8;hb=c25b0f5781313f72027722783ce6286978bdd757;hp=8bb2c7b14de842f88455517acc2e647c27a2ec96;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/ir/ir/irdumptxt.c b/ir/ir/irdumptxt.c index 8bb2c7b14..e7e5cebc6 100644 --- a/ir/ir/irdumptxt.c +++ b/ir/ir/irdumptxt.c @@ -37,10 +37,10 @@ #include #include "irdump_t.h" +#include "irgraph_t.h" #include "firm_common_t.h" -#include "irgraph_t.h" #include "irprog_t.h" #include "entity_t.h" #include "trouts.h" @@ -530,9 +530,9 @@ static void dump_node_list(FILE *F, firm_kind *k, char *prefix, * "prefix" node16, node17\n */ static void dump_type_list(FILE *F, ir_type *tp, char *prefix, - int (*get_n_types)(ir_type *tp), - ir_type *(*get_type)(ir_type *tp, int pos), - char *name) { + int (*get_n_types)(const ir_type *tp), + ir_type *(*get_type)(const ir_type *tp, int pos), + const char *name) { int i, n_nodes = get_n_types(tp); char *comma = ""; @@ -634,6 +634,9 @@ void dump_entity_to_file_prefix(FILE *F, ir_entity *ent, char *prefix, unsigned fprintf(F, "\n%s calling convention: ", prefix); if (cc & cc_reg_param) fprintf(F, "regparam, "); if (cc & cc_this_call) fprintf(F, "thiscall, "); + if (cc & cc_compound_ret) fprintf(F, "compound_ret, "); + if (cc & cc_frame_on_caller_stk) fprintf(F, "frame on caller's stack, "); + cc &= ~(cc_compound_ret|cc_frame_on_caller_stk); if (IS_CDECL(cc)) fprintf(F, "cdecl"); else if (IS_STDCALL(cc))