diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-18 00:11:25 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-18 00:11:25 +0000 |
commit | bd80419ee2e476531fd5091347aad546a163c01e (patch) | |
tree | 966ed56292e89026d25210e8d0427b784331713a /gcc | |
parent | 91c21245e3b31c9da5a0e69967ca051cf592e396 (diff) | |
download | gcc-bd80419ee2e476531fd5091347aad546a163c01e.tar.gz |
* config/h8300/h8300.c (fix_bit_operand): Change the name of
the last argument to "code" from "type".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78000 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b660bfb053c..397d5dbfad1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> + * config/h8300/h8300.c (fix_bit_operand): Change the name of + the last argument to "code" from "type". + +2004-02-17 Kazu Hirata <kazu@cs.umass.edu> + * config/h8300/h8300.c: Remove an extern declaration of rtx_equal_function_value_matters. diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 60cd068e06f..33dc46ee4c2 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -4070,7 +4070,7 @@ compute_a_rotate_length (rtx *operands) operating insn. */ int -fix_bit_operand (rtx *operands, int what, enum rtx_code type) +fix_bit_operand (rtx *operands, int what, enum rtx_code code) { /* The bit_operand predicate accepts any memory during RTL generation, but only 'U' memory afterwards, so if this is a MEM operand, we must force @@ -4107,7 +4107,7 @@ fix_bit_operand (rtx *operands, int what, enum rtx_code type) operands[1] = force_reg (QImode, operands[1]); { rtx res = gen_reg_rtx (QImode); - switch (type) + switch (code) { case AND: emit_insn (gen_andqi3_1 (res, operands[1], operands[2])); |