diff options
author | Kazu Hirata <kazu@hxi.com> | 2002-02-03 01:36:13 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2002-02-03 01:36:13 +0000 |
commit | 0ea6f6a02ac05d816fa839647097b982ad2559cf (patch) | |
tree | 4e6592cbb60b4acc1995c099e88112b0bdc1db1e | |
parent | cbf1b2dabf13aa7d54286fd3014c25a83d41b9ea (diff) | |
download | gcc-0ea6f6a02ac05d816fa839647097b982ad2559cf.zip gcc-0ea6f6a02ac05d816fa839647097b982ad2559cf.tar.gz gcc-0ea6f6a02ac05d816fa839647097b982ad2559cf.tar.bz2 |
* config/h8300/h8300.c (hand_list): Move inside function_arg.
From-SVN: r49454
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.c | 39 |
2 files changed, 23 insertions, 20 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8daa659..8f006a0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2002-02-02 Kazu Hirata <kazu@hxi.com> + * config/h8300/h8300.c (hand_list): Move inside function_arg. + +2002-02-02 Kazu Hirata <kazu@hxi.com> + * config/h8300/h8300.c (h8_push_ops): Move inside h8300_init_once. (h8_pop_ops): Likewise. diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 1f178b8..ea673fc 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -794,26 +794,6 @@ h8300_pr_saveall (pfile) pragma_saveall = 1; } -static const char *const hand_list[] = -{ - "__main", - "__cmpsi2", - "__divhi3", - "__modhi3", - "__udivhi3", - "__umodhi3", - "__divsi3", - "__modsi3", - "__udivsi3", - "__umodsi3", - "__mulhi3", - "__mulsi3", - "__reg_memcpy", - "__reg_memset", - "__ucmpsi2", - 0, -}; - /* 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. @@ -826,6 +806,25 @@ function_arg (cum, mode, type, named) tree type; int named; { + static const char *const hand_list[] = { + "__main", + "__cmpsi2", + "__divhi3", + "__modhi3", + "__udivhi3", + "__umodhi3", + "__divsi3", + "__modsi3", + "__udivsi3", + "__umodsi3", + "__mulhi3", + "__mulsi3", + "__reg_memcpy", + "__reg_memset", + "__ucmpsi2", + 0, + }; + rtx result = NULL_RTX; const char *fname; int regpass = 0; |