]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
h8300-protos.h: Update the prototypes of emit_a_rotate and expand_a_rotate.
authorKazu Hirata <kazu@hxi.com>
Tue, 29 Jan 2002 05:02:41 +0000 (05:02 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 29 Jan 2002 05:02:41 +0000 (05:02 +0000)
* config/h8300/h8300-protos.h: Update the prototypes of
emit_a_rotate and expand_a_rotate.
* config/h8300/h8300.c (emit_a_rotate): Change the type of the
first argument to 'enum rtx_code'.
(expand_a_rotate): Likewise.

From-SVN: r49309

gcc/ChangeLog
gcc/config/h8300/h8300-protos.h
gcc/config/h8300/h8300.c

index 287b29f2524719d6f5825bc1d1fcb563aadcf92e..ece5c2d7f08dfa3ea09e5cb75803ead72df50a9c 100644 (file)
@@ -1,3 +1,11 @@
+2002-01-29  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/h8300-protos.h: Update the prototypes of
+       emit_a_rotate and expand_a_rotate.
+       * config/h8300/h8300.c (emit_a_rotate): Change the type of the
+       first argument to 'enum rtx_code'.
+       (expand_a_rotate): Likewise.
+
 2002-01-28  Kazu Hirata  <kazu@hxi.com>
 
        * config/h8300/h8300-protos.h: Update the prototype of
index b36a998cad2fcf4fac733ce767afb61c3c6edf0f..94f94faed914432a09dd27bb9eaa3683303393ad 100644 (file)
@@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA.  */
 /* Declarations for functions used in insn-output.c.  */
 #ifdef RTX_CODE
 extern const char *output_a_shift PARAMS ((rtx, rtx *));
-extern const char *emit_a_rotate PARAMS ((int, rtx *));
+extern const char *emit_a_rotate PARAMS ((enum rtx_code, rtx *));
 extern const char *output_simode_bld PARAMS ((int, rtx[]));
 extern void print_operand_address PARAMS ((FILE *, rtx));
 extern const char *byte_reg PARAMS ((rtx, int));
@@ -38,7 +38,7 @@ extern int do_movsi PARAMS ((rtx[]));
 extern void notice_update_cc PARAMS ((rtx, rtx));
 extern const char *output_logical_op PARAMS ((enum machine_mode, int, rtx *));
 extern int expand_a_shift PARAMS ((enum machine_mode, int, rtx[]));
-extern int expand_a_rotate PARAMS ((int, rtx[]));
+extern int expand_a_rotate PARAMS ((enum rtx_code, rtx[]));
 extern int fix_bit_operand PARAMS ((rtx *, int, enum rtx_code));
 extern int h8300_adjust_insn_length PARAMS ((rtx, int));
 extern void split_adds_subs PARAMS ((enum machine_mode, rtx[]));
index 6bbcae796399cacb0877f3aee56d24427d7d0707..603074b594aef0a96f1c127724140a7523125e94 100644 (file)
@@ -2635,7 +2635,7 @@ output_a_shift (insn, operands)
 
 int
 expand_a_rotate (code, operands)
-     int code;
+     enum rtx_code code;
      rtx operands[];
 {
   rtx dst = operands[0];
@@ -2692,7 +2692,7 @@ expand_a_rotate (code, operands)
 
 const char *
 emit_a_rotate (code, operands)
-     int code;
+     enum rtx_code code;
      rtx *operands;
 {
   rtx dst = operands[0];