aboutsummaryrefslogtreecommitdiff
path: root/gcc/cprop.c
diff options
context:
space:
mode:
authorTrevor Saunders <tsaunders@mozilla.com>2014-09-16 01:23:42 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2014-09-16 01:23:42 +0000
commit4654c0cf4a05c0af9ff3d0969382d175f5b32e7e (patch)
treeafa1d791e1a24bd21d9981f0b69fd768831df3cd /gcc/cprop.c
parente73de8f37af47e6568c145d41f0490338b942288 (diff)
downloadgcc-4654c0cf4a05c0af9ff3d0969382d175f5b32e7e.zip
gcc-4654c0cf4a05c0af9ff3d0969382d175f5b32e7e.tar.gz
gcc-4654c0cf4a05c0af9ff3d0969382d175f5b32e7e.tar.bz2
Replace INSN_DELETED_P with rtx_insn member functions
gcc/ * cfgrtl.c, combine.c, config/arc/arc.c, config/mcore/mcore.c, config/rs6000/rs6000.c, config/sh/sh.c, cprop.c, dwarf2out.c, emit-rtl.c, final.c, function.c, gcse.c, jump.c, reg-stack.c, reload1.c, reorg.c, resource.c, sel-sched-ir.c: Replace INSN_DELETED_P macro with statically checked member functions. * rtl.h (rtx_insn::deleted): New method. (rtx_insn::set_deleted): Likewise. (rtx_insn::set_undeleted): Likewise. (INSN_DELETED_P): Remove. From-SVN: r215282
Diffstat (limited to 'gcc/cprop.c')
-rw-r--r--gcc/cprop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cprop.c b/gcc/cprop.c
index fa77faa..3711508 100644
--- a/gcc/cprop.c
+++ b/gcc/cprop.c
@@ -1071,7 +1071,7 @@ retry:
print_rtl (dump_file, src);
fprintf (dump_file, "\n");
}
- if (INSN_DELETED_P (insn))
+ if (insn->deleted ())
return 1;
}
}
@@ -1257,7 +1257,7 @@ local_cprop_pass (void)
break;
}
}
- if (INSN_DELETED_P (insn))
+ if (insn->deleted ())
break;
}
while (i < reg_use_count);
@@ -1854,7 +1854,7 @@ one_cprop_pass (void)
/* ??? Need to be careful w.r.t. mods done to INSN.
Don't call mark_oprs_set if we turned the
insn into a NOTE, or deleted the insn. */
- if (! NOTE_P (insn) && ! INSN_DELETED_P (insn))
+ if (! NOTE_P (insn) && ! insn->deleted ())
mark_oprs_set (insn);
}
}