diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2001-11-12 22:57:52 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2001-11-12 22:57:52 +0000 |
commit | 9b55553e37047d69aad1ba485689acc58218090a (patch) | |
tree | c0f0c4cde8bf12b724694360d81076953a7127f4 /gcc | |
parent | 64adad99a0f858187f10841b728d25b71a894753 (diff) | |
download | gcc-9b55553e37047d69aad1ba485689acc58218090a.zip gcc-9b55553e37047d69aad1ba485689acc58218090a.tar.gz gcc-9b55553e37047d69aad1ba485689acc58218090a.tar.bz2 |
mips-protos.h (mips_output_conditional_branch): Const-ify.
* mips-protos.h (mips_output_conditional_branch): Const-ify.
* mips.c (mips_output_conditional_branch): Likewise.
From-SVN: r46967
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips-protos.h | 6 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 91e86f2..4597700 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * mips-protos.h (mips_output_conditional_branch): Const-ify. + * mips.c (mips_output_conditional_branch): Likewise. + 2001-11-12 Kazu Hirata <kazu@hxi.com> * config/h8300/h8300.c (shift_alg_si): Use special code for diff --git a/gcc/config/mips/mips-protos.h b/gcc/config/mips/mips-protos.h index 0dcfca5..56dcd3a 100644 --- a/gcc/config/mips/mips-protos.h +++ b/gcc/config/mips/mips-protos.h @@ -105,9 +105,9 @@ extern int mips16_gp_offset_p PARAMS ((rtx)); extern int mips16_constant PARAMS ((rtx, enum machine_mode, int, int)); extern int build_mips16_call_stub PARAMS ((rtx, rtx, rtx, int)); -extern char *mips_output_conditional_branch PARAMS ((rtx, rtx *, - int, int, int, - int)); +extern const char *mips_output_conditional_branch PARAMS ((rtx, rtx *, + int, int, int, + int)); extern int mips_adjust_insn_length PARAMS ((rtx, int)); extern enum reg_class mips_secondary_reload_class PARAMS ((enum reg_class, enum machine_mode, diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index dedad2e..80f35c3 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -9557,7 +9557,7 @@ mips_adjust_insn_length (insn, length) LENGTH is the length (in bytes) of the sequence we are to generate. That tells us whether to generate a simple conditional branch, or a reversed conditional branch around a `jr' instruction. */ -char * +const char * mips_output_conditional_branch (insn, operands, two_operands_p, |