/*
- * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
#include <stdarg.h>
#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"
#include "irgwalk.h"
#include "tv_t.h"
+#include "irprintf.h"
#include "irdom.h"
#include "field_temperature.h"
* "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 = "";
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))