OSDN Git Service

* config/h8300/h8300.c (fix_bit_operand): Change the name of
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Feb 2004 00:11:25 +0000 (00:11 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Feb 2004 00:11:25 +0000 (00:11 +0000)
the last argument to "code" from "type".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78000 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/h8300/h8300.c

index b660bfb..397d5db 100644 (file)
@@ -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.
 
index 60cd068..33dc46e 100644 (file)
@@ -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]));