diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-11-09 17:34:03 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-11-09 17:34:03 +0000 |
commit | 6db0fb0ed3c834b6457434841df0599f27872c02 (patch) | |
tree | 326178f1a34143463c75232a4218117c8a8baf50 | |
parent | bf9a0db3c8ce0aeea0a5371219eebc9323066284 (diff) | |
download | gcc-6db0fb0ed3c834b6457434841df0599f27872c02.zip gcc-6db0fb0ed3c834b6457434841df0599f27872c02.tar.gz gcc-6db0fb0ed3c834b6457434841df0599f27872c02.tar.bz2 |
optabs.c (prepare_operand): Make it static.
* optabs.c (prepare_operand): Make it static.
* optabs.h: Remove the corresponding prototype.
From-SVN: r90351
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/optabs.c | 2 | ||||
-rw-r--r-- | gcc/optabs.h | 3 |
3 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 17a5627..157862d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2004-11-09 Kazu Hirata <kazu@cs.umass.edu> + * optabs.c (prepare_operand): Make it static. + * optabs.h: Remove the corresponding prototype. + +2004-11-09 Kazu Hirata <kazu@cs.umass.edu> + * reload1.c (reloads_conflict, gen_reload): Make them static. * reload.h: Remove the corresponding prototypes. diff --git a/gcc/optabs.c b/gcc/optabs.c index cc0627b..cfed904 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -3197,7 +3197,7 @@ prepare_cmp_insn (rtx *px, rtx *py, enum rtx_code *pcomparison, rtx size, WIDER_MODE (UNSIGNEDP determines whether it is an unsigned conversion), and that it is accepted by the operand predicate. Return the new value. */ -rtx +static rtx prepare_operand (int icode, rtx x, int opnum, enum machine_mode mode, enum machine_mode wider_mode, int unsignedp) { diff --git a/gcc/optabs.h b/gcc/optabs.h index 2d332e3..09afccb 100644 --- a/gcc/optabs.h +++ b/gcc/optabs.h @@ -477,9 +477,6 @@ extern optab optab_for_tree_code (enum tree_code, tree); extern int can_compare_p (enum rtx_code, enum machine_mode, enum can_compare_purpose); -extern rtx prepare_operand (int, rtx, int, enum machine_mode, - enum machine_mode, int); - /* Return the INSN_CODE to use for an extend operation. */ extern enum insn_code can_extend_p (enum machine_mode, enum machine_mode, int); |