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
This commit is contained in:
parent
2e2d40751c
commit
735e8085f7
@ -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.
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user