diff options
author | froydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-24 13:03:06 +0000 |
---|---|---|
committer | froydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-24 13:03:06 +0000 |
commit | 81bcd36ca01330bf24140c8e8663630698fb49cb (patch) | |
tree | 942037d3317717fc15b2e64c5ef5978fabb9e1f9 /gcc/target.def | |
parent | 1688dd20f8f0355b3748d31e11274c5239d7a853 (diff) | |
download | gcc-81bcd36ca01330bf24140c8e8663630698fb49cb.tar.gz |
* system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison.
(FUNCTION_ARG_ADVANCE): Likewise.
* tm.texi.in: Change references to them to hook references.
* tm.texi: Regenerate.
* targhooks.c (default_function_arg): Eliminate check for target
macro.
(default_function_incoming_arg): Likewise.
(default_function_arg_advance): Likewise.
* target.def (function_arg, function_incoming_arg): Change to
DEFHOOK.
(function_arg_advance): Likewise.
* target-def.h: Eliminate FUNCTION_INCOMING_ARG check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171389 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.def')
-rw-r--r-- | gcc/target.def | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/target.def b/gcc/target.def index 75c821f2327..584bb7df52e 100644 --- a/gcc/target.def +++ b/gcc/target.def @@ -2018,8 +2018,7 @@ DEFHOOK /* Update the state in CA to advance past an argument in the argument list. The values MODE, TYPE, and NAMED describe that argument. */ -/* ??? tm.texi still only describes the old macro. */ -DEFHOOK_UNDOC +DEFHOOK (function_arg_advance, "", void, @@ -2030,8 +2029,7 @@ DEFHOOK_UNDOC be placed on a stack, or a hard register in which to store the argument. The values MODE, TYPE, and NAMED describe that argument. */ -/* ??? tm.texi still only describes the old macro. */ -DEFHOOK_UNDOC +DEFHOOK (function_arg, "", rtx, (CUMULATIVE_ARGS *ca, enum machine_mode mode, const_tree type, @@ -2040,8 +2038,7 @@ DEFHOOK_UNDOC /* Likewise, but for machines with register windows. Return the location where the argument will appear to the callee. */ -/* ??? tm.texi still only describes the old macro. */ -DEFHOOK_UNDOC +DEFHOOK (function_incoming_arg, "", rtx, (CUMULATIVE_ARGS *ca, enum machine_mode mode, const_tree type, |