diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-12 22:57:52 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-12 22:57:52 +0000 |
commit | 5f10a4660f98257e41a2e6e139675bbe06bbedf2 (patch) | |
tree | c0f0c4cde8bf12b724694360d81076953a7127f4 /gcc/config | |
parent | 9829bea46c057d70560360798de5c10a770afd48 (diff) | |
download | gcc-5f10a4660f98257e41a2e6e139675bbe06bbedf2.tar.gz |
* mips-protos.h (mips_output_conditional_branch): Const-ify.
* mips.c (mips_output_conditional_branch): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46967 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/mips/mips-protos.h | 6 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/mips/mips-protos.h b/gcc/config/mips/mips-protos.h index 0dcfca582f3..56dcd3a7462 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 dedad2eac2c..80f35c3e804 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, |