From 64bead4cff14afc6ef91fa29870abeb649d5b47b Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 21 Jan 2002 01:12:35 +0000 Subject: [PATCH] * config/h8300/h8300.c (function_arg): Update a comment. From-SVN: r49026 --- gcc/ChangeLog | 4 ++++ gcc/config/h8300/h8300.c | 10 ++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 376c33de22b..466ea85473f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-01-20 Kazu Hirata + + * config/h8300/h8300.c (function_arg): Update a comment. + 2002-01-20 Kazu Hirata * config/h8300/h8300.md: Update the comments at the beginning 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) -- 2.30.2