* (assign_parms): Minor cleanup.
authorDoug Evans <dje@gnu.org>
Thu, 18 Mar 1993 20:27:21 +0000 (20:27 +0000)
committerDoug Evans <dje@gnu.org>
Thu, 18 Mar 1993 20:27:21 +0000 (20:27 +0000)
From-SVN: r3776

gcc/function.c

index 4e7e5d721721686c5e0fdeb615b868cd8e4571f6..473fcf301713f71c53147b85b3c821502d8976c0 100644 (file)
@@ -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.  */