From 461beb1055c836767e7ec420aba89eae7b363290 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 18 Mar 1993 20:27:21 +0000 Subject: [PATCH] * (assign_parms): Minor cleanup. From-SVN: r3776 --- gcc/function.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gcc/function.c b/gcc/function.c index 4e7e5d72172..473fcf30171 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -2919,6 +2919,7 @@ assign_parms (fndecl, second_time) if (MUST_PASS_IN_STACK (passed_mode, passed_type)) entry_parm = 0; +#ifdef FUNCTION_ARG_PARTIAL_NREGS /* If this parm was passed part in regs and part in memory, pretend it arrived entirely in memory by pushing the register-part onto the stack. @@ -2929,11 +2930,8 @@ assign_parms (fndecl, second_time) if (entry_parm) { - int nregs = 0; -#ifdef FUNCTION_ARG_PARTIAL_NREGS - nregs = FUNCTION_ARG_PARTIAL_NREGS (args_so_far, passed_mode, - passed_type, ! last_named); -#endif + int nregs = FUNCTION_ARG_PARTIAL_NREGS (args_so_far, passed_mode, + passed_type, ! last_named); if (nregs > 0) { @@ -2948,6 +2946,7 @@ assign_parms (fndecl, second_time) entry_parm = stack_parm; } } +#endif /* If we didn't decide this parm came in a register, by default it came on the stack. */ -- 2.30.2