diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2003-06-28 14:56:24 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-06-28 14:56:24 +0000 |
commit | 735e8085f774cbd2f596077d08c08c3b24148098 (patch) | |
tree | 3708e094f1aefe1824af116467410a0a11fffc82 | |
parent | 2e2d40751c26880f61cc44d1e91a84e7083a64eb (diff) | |
download | gcc-735e8085f774cbd2f596077d08c08c3b24148098.zip gcc-735e8085f774cbd2f596077d08c08c3b24148098.tar.gz gcc-735e8085f774cbd2f596077d08c08c3b24148098.tar.bz2 |
gcse.c (compute_ld_motion_mems): Use INSN_P instead of its definition.
* gcse.c (compute_ld_motion_mems): Use INSN_P instead of its
definition.
(store_killed_in_insn): Likewise.
* print-rtl.c (print_rtx): Likewise.
* config/frv/frv.c (frv_final_prescan_insn): Likewise.
* config/m68hc11/m68hc11.c (dead_register_here): Likewise.
(m68hc11_reassign_regs): Likewise.
(m68hc11_reorg): Likewise.
From-SVN: r68640
-rw-r--r-- | gcc/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/config/frv/frv.c | 2 | ||||
-rw-r--r-- | gcc/config/m68hc11/m68hc11.c | 6 | ||||
-rw-r--r-- | gcc/gcse.c | 4 | ||||
-rw-r--r-- | gcc/print-rtl.c | 2 |
5 files changed, 18 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1cfc2cc..5d0ffcf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +2003-06-28 Kazu Hirata <kazu@cs.umass.edu> + + * gcse.c (compute_ld_motion_mems): Use INSN_P instead of its + definition. + (store_killed_in_insn): Likewise. + * print-rtl.c (print_rtx): Likewise. + * config/frv/frv.c (frv_final_prescan_insn): Likewise. + * config/m68hc11/m68hc11.c (dead_register_here): Likewise. + (m68hc11_reassign_regs): Likewise. + (m68hc11_reorg): Likewise. + 2003-06-28 Gabriel Dos Reis <gdr@integrable-solutions.net> * diagnostic.c (output_integer_with_precision): New macro. diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c index 078c7c0..5caf13d 100644 --- a/gcc/config/frv/frv.c +++ b/gcc/config/frv/frv.c @@ -2326,7 +2326,7 @@ frv_final_prescan_insn (insn, opvec, noperands) if (! PACKING_FLAG_USED_P()) return; - if (GET_RTX_CLASS (GET_CODE (insn)) != 'i') + if (!INSN_P (insn)) return; frv_insn_operands = opvec; diff --git a/gcc/config/m68hc11/m68hc11.c b/gcc/config/m68hc11/m68hc11.c index b40c4e7..58e8845 100644 --- a/gcc/config/m68hc11/m68hc11.c +++ b/gcc/config/m68hc11/m68hc11.c @@ -2100,7 +2100,7 @@ dead_register_here (x, reg) x_reg = 0; for (p = PREV_INSN (x); p && GET_CODE (p) != CODE_LABEL; p = PREV_INSN (p)) - if (GET_RTX_CLASS (GET_CODE (p)) == 'i') + if (INSN_P (p)) { rtx body; @@ -5158,7 +5158,7 @@ m68hc11_reassign_regs (first) || GET_CODE (insn) == NOTE || GET_CODE (insn) == BARRIER) continue; - if (GET_RTX_CLASS (GET_CODE (insn)) != 'i') + if (!INSN_P (insn)) continue; body = PATTERN (insn); @@ -5287,7 +5287,7 @@ m68hc11_reorg () if (INSN_DELETED_P (insn)) continue; - if (GET_RTX_CLASS (GET_CODE (insn)) != 'i') + if (!INSN_P (insn)) continue; /* Remove the (set (R) (R)) insns generated by some splits. */ @@ -6834,7 +6834,7 @@ compute_ld_motion_mems () insn && insn != NEXT_INSN (bb->end); insn = NEXT_INSN (insn)) { - if (GET_RTX_CLASS (GET_CODE (insn)) == 'i') + if (INSN_P (insn)) { if (GET_CODE (PATTERN (insn)) == SET) { @@ -7448,7 +7448,7 @@ store_killed_in_insn (x, x_regs, insn) { rtx reg, base; - if (GET_RTX_CLASS (GET_CODE (insn)) != 'i') + if (!INSN_P (insn)) return false; if (GET_CODE (insn) == CALL_INSN) diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index 071cec1..8c9a50f 100644 --- a/gcc/print-rtl.c +++ b/gcc/print-rtl.c @@ -379,7 +379,7 @@ print_rtx (in_rtx) break; case 'i': - if (i == 4 && GET_RTX_CLASS (GET_CODE (in_rtx)) == 'i') + if (i == 4 && INSN_P (in_rtx)) { #ifndef GENERATOR_FILE /* Pretty-print insn locators. Ignore scoping as it is mostly |