aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1996-03-29 07:37:11 -0700
committerJeff Law <law@gcc.gnu.org>1996-03-29 07:37:11 -0700
commit2c7ee1a641d927dc3f45170f0ff4ecd6dd8f31c7 (patch)
tree2387c87408945f8be6a4ed190c7deb281795a70e /gcc/function.c
parentc4d98c846dc38fa87a9e91991e647afcc44d2f45 (diff)
downloadgcc-2c7ee1a641d927dc3f45170f0ff4ecd6dd8f31c7.zip
gcc-2c7ee1a641d927dc3f45170f0ff4ecd6dd8f31c7.tar.gz
gcc-2c7ee1a641d927dc3f45170f0ff4ecd6dd8f31c7.tar.bz2
calls.c (expand_call): Remove current_call_is_indirect nonsense.
* calls.c (expand_call): Remove current_call_is_indirect nonsense. Add additional argument to INIT_CUMULATIVE_ARGS. (emit_library_call): Likewise. (emit_library_call_value): Likewise. * expr.c (expand_builtin): Likewise. * function.c (assign_parms): Likewise. * cp/method.c (emit_thunk): Likewise. * config/pa/pa.h (hppa_args): New field "indirect". (INIT_CUMULATIVE_ARGS): Initialize "indirect" field. (FUNCTION_ARG): Check "indirect" field, rather than "current_call_is_indirect". * All other backends updated with new argument to INIT_CUMULATIVE_ARGS From-SVN: r11641
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/function.c b/gcc/function.c
index f6ffe09..150aa8e 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -3235,9 +3235,6 @@ assign_parms (fndecl, second_time)
int nparmregs = list_length (fnargs) + LAST_VIRTUAL_REGISTER + 1;
int varargs_setup = 0;
rtx conversion_insns = 0;
- /* FUNCTION_ARG may look at this variable. Since this is not
- expanding a call it will always be zero in this function. */
- int current_call_is_indirect = 0;
/* Nonzero if the last arg is named `__builtin_va_alist',
which is used on some machines for old-fashioned non-ANSI varargs.h;
@@ -3299,7 +3296,7 @@ assign_parms (fndecl, second_time)
#ifdef INIT_CUMULATIVE_INCOMING_ARGS
INIT_CUMULATIVE_INCOMING_ARGS (args_so_far, fntype, NULL_RTX);
#else
- INIT_CUMULATIVE_ARGS (args_so_far, fntype, NULL_RTX);
+ INIT_CUMULATIVE_ARGS (args_so_far, fntype, NULL_RTX, 0);
#endif
/* We haven't yet found an argument that we must push and pretend the