diff options
Diffstat (limited to 'gcc/config/csky/csky.c')
-rw-r--r-- | gcc/config/csky/csky.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/csky/csky.c b/gcc/config/csky/csky.c index 3cfa13e..98789bc 100644 --- a/gcc/config/csky/csky.c +++ b/gcc/config/csky/csky.c @@ -1917,11 +1917,10 @@ csky_return_addr (int count, rtx frame ATTRIBUTE_UNUSED) that are passed entirely in registers or that are entirely pushed on the stack. */ static int -csky_arg_partial_bytes (cumulative_args_t pcum_v, machine_mode mode, - tree type, bool named ATTRIBUTE_UNUSED) +csky_arg_partial_bytes (cumulative_args_t pcum_v, const function_arg_info &arg) { CUMULATIVE_ARGS *pcum = get_cumulative_args (pcum_v); - int param_size = csky_num_arg_regs (mode, type); + int param_size = csky_num_arg_regs (arg.mode, arg.type); if (*pcum < CSKY_NPARM_REGS && *pcum + param_size > CSKY_NPARM_REGS) |