diff options
author | Doug Evans <dje@gnu.org> | 1993-03-18 20:27:21 +0000 |
---|---|---|
committer | Doug Evans <dje@gnu.org> | 1993-03-18 20:27:21 +0000 |
commit | 461beb1055c836767e7ec420aba89eae7b363290 (patch) | |
tree | 6b81a6cf8dc95adfbd6c24f20c6067a9887e2c44 /gcc | |
parent | fd328506ccd29e50144cda018c1cc96cbde22fc5 (diff) | |
download | gcc-461beb1055c836767e7ec420aba89eae7b363290.zip gcc-461beb1055c836767e7ec420aba89eae7b363290.tar.gz gcc-461beb1055c836767e7ec420aba89eae7b363290.tar.bz2 |
* (assign_parms): Minor cleanup.
From-SVN: r3776
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/function.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/function.c b/gcc/function.c index 4e7e5d7..473fcf3 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. */ |