summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-21 01:12:35 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-21 01:12:35 +0000
commitc738c37183f99f5401da0349c9450b5ca8afddc3 (patch)
tree664f06e05a1ae8692d2aeaf47808196620e79270 /gcc/config
parentec8f1737e76cc21575c1b9e4b33ab15d6bae71fc (diff)
downloadgcc-c738c37183f99f5401da0349c9450b5ca8afddc3.tar.gz
* config/h8300/h8300.c (function_arg): Update a comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49026 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/h8300/h8300.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index c30855188dc..890d7e5d8cb 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -793,10 +793,6 @@ h8300_pr_saveall (pfile)
pragma_saveall = 1;
}
-/* If the next arg with MODE and TYPE is to be passed in a register, return
- the rtx to represent where it is passed. CUM represents the state after
- the last argument. NAMED is not used. */
-
static const char *const hand_list[] =
{
"__main",
@@ -817,8 +813,10 @@ static const char *const hand_list[] =
0,
};
-/* Return an RTX to represent where a value with mode MODE will be returned
- from a function. If the result is 0, the argument is pushed. */
+/* If the next function argument with MODE and TYPE is to be passed in
+ a register, return a reg RTX for the hard register in which to pass
+ the argument. CUM represents the state after the last argument.
+ If the argument is to be pushed, NULL_RTX is returned. */
rtx
function_arg (cum, mode, type, named)