From ee4e0a8d89e55e24640b8f3066d5e939197b2b73 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Tue, 18 Oct 2005 13:31:00 +0000 Subject: [PATCH] used the new IS_CDECL() and IS_STDCALL() macros [r6723] --- ir/ir/irdumptxt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ir/ir/irdumptxt.c b/ir/ir/irdumptxt.c index 15eae46df..100cd277b 100644 --- a/ir/ir/irdumptxt.c +++ b/ir/ir/irdumptxt.c @@ -557,9 +557,9 @@ void dump_entity_to_file_prefix (FILE *F, entity *ent, char *prefix, unsigned fprintf(F, "\n%s calling convention: ", prefix); if (cc & irg_cc_reg_param) fprintf(F, "regparam, "); if (cc & irg_cc_this_call) fprintf(F, "thiscall, "); - if ((cc & (irg_cc_last_on_top|irg_cc_callee_clear_stk)) == 0) + if (IS_CDECL(cc)) fprintf(F, "cdecl"); - else if ((cc & (irg_cc_last_on_top|irg_cc_callee_clear_stk)) == (irg_cc_last_on_top|irg_cc_callee_clear_stk)) + else if (IS_STDCALL(cc)) fprintf(F, "stdcall"); else { fprintf(F, (cc & irg_cc_last_on_top) ? "last param on top, " : "first param on top, "); -- 2.20.1