aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@hxi.com>2002-01-21 01:12:35 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-01-21 01:12:35 +0000
commit64bead4cff14afc6ef91fa29870abeb649d5b47b (patch)
tree664f06e05a1ae8692d2aeaf47808196620e79270 /gcc
parented863595debb002d1e524ac9ec96fd77bfec7ff3 (diff)
downloadgcc-64bead4cff14afc6ef91fa29870abeb649d5b47b.zip
gcc-64bead4cff14afc6ef91fa29870abeb649d5b47b.tar.gz
gcc-64bead4cff14afc6ef91fa29870abeb649d5b47b.tar.bz2
* config/h8300/h8300.c (function_arg): Update a comment.
From-SVN: r49026
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/h8300/h8300.c10
2 files changed, 8 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 376c33d..466ea85 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2002-01-20 Kazu Hirata <kazu@hxi.com>
+ * config/h8300/h8300.c (function_arg): Update a comment.
+
+2002-01-20 Kazu Hirata <kazu@hxi.com>
+
* config/h8300/h8300.md: Update the comments at the beginning
of the file.
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index c308551..890d7e5 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)