aboutsummaryrefslogtreecommitdiff
path: root/i386-gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386-gen.c')
-rw-r--r--i386-gen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/i386-gen.c b/i386-gen.c
index 4c4a54b..ece054b 100644
--- a/i386-gen.c
+++ b/i386-gen.c
@@ -457,7 +457,7 @@ ST_FUNC void gfunc_call(int nb_args)
}
save_regs(0); /* save used temporary registers */
func_sym = vtop->type.ref;
- func_call = FUNC_CALL(func_sym->r);
+ func_call = func_sym->a.func_call;
/* fast call case */
if ((func_call >= FUNC_FASTCALL1 && func_call <= FUNC_FASTCALL3) ||
func_call == FUNC_FASTCALLW) {
@@ -505,7 +505,7 @@ ST_FUNC void gfunc_prolog(CType *func_type)
CType *type;
sym = func_type->ref;
- func_call = FUNC_CALL(sym->r);
+ func_call = sym->a.func_call;
addr = 8;
loc = 0;
func_vc = 0;