diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2000-11-04 04:02:25 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2000-11-04 04:02:25 +0000 |
commit | f132f529e0f604f68eef0aa780b86dabeb00d964 (patch) | |
tree | 54dae2246a8389b0e61505eb62100092e0a45ba2 /gcc/calls.c | |
parent | 626d8f0a2c098ab985a6e736e0f216f59795f4e8 (diff) | |
download | gcc-f132f529e0f604f68eef0aa780b86dabeb00d964.zip gcc-f132f529e0f604f68eef0aa780b86dabeb00d964.tar.gz gcc-f132f529e0f604f68eef0aa780b86dabeb00d964.tar.bz2 |
calls.c (emit_call_1): Use n_popped instead of RETURN_POPS_ARGS().
* calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of
RETURN_POPS_ARGS().
From-SVN: r37242
Diffstat (limited to 'gcc/calls.c')
-rw-r--r-- | gcc/calls.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index da850cc..09f08e4 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -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 |