calls.c (emit_call_1): Use n_popped instead of RETURN_POPS_ARGS().
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 4 Nov 2000 04:02:25 +0000 (04:02 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Sat, 4 Nov 2000 04:02:25 +0000 (04:02 +0000)
* calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of
RETURN_POPS_ARGS().

From-SVN: r37242

gcc/ChangeLog
gcc/calls.c

index 220929fa569a0dd78711ad06f1092a5887fdc475..eb01f208f464039ee970bed58d43ed4eab7788ee 100644 (file)
@@ -1,3 +1,8 @@
+2000-11-04  Alexandre Oliva  <aoliva@redhat.com>
+
+       * calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of
+       RETURN_POPS_ARGS().
+
 2000-11-03  Zack Weinberg  <zack@wolery.stanford.edu>
 
        * builtins.c (expand_builtin_strlen): Remove unused mode
index da850ccada4b694018d92f1032def5f9daf07c62..09f08e4027ad1f904fc0f5f07a0a8ede63cce028 100644 (file)
@@ -473,10 +473,9 @@ emit_call_1 (funexp, fndecl, funtype, stack_size, rounded_stack_size,
 #if defined (HAVE_sibcall_pop) && defined (HAVE_sibcall_value_pop)
   if ((ecf_flags & ECF_SIBCALL)
       && HAVE_sibcall_pop && HAVE_sibcall_value_pop
-      && (RETURN_POPS_ARGS (fndecl, funtype, stack_size) > 0
-         || stack_size == 0))
+      && (n_popped > 0 || stack_size == 0))
     {
-      rtx n_pop = GEN_INT (RETURN_POPS_ARGS (fndecl, funtype, stack_size));
+      rtx n_pop = GEN_INT (n_popped));
       rtx pat;
 
       /* If this subroutine pops its own args, record that in the call insn