diff options
author | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-16 01:23:42 +0000 |
---|---|---|
committer | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-16 01:23:42 +0000 |
commit | dd1286fb158d55badf7feee4637c8ee21123f890 (patch) | |
tree | afa1d791e1a24bd21d9981f0b69fd768831df3cd /gcc/reload1.c | |
parent | c6d14fbf7c49e5ffc306141619b9699113d9d0aa (diff) | |
download | gcc-dd1286fb158d55badf7feee4637c8ee21123f890.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215282 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index 13dcd4f0aee..22d3e8e1e59 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -8847,7 +8847,7 @@ delete_output_reload (rtx_insn *insn, int j, int last_reload_reg, /* It is possible that this reload has been only used to set another reload we eliminated earlier and thus deleted this instruction too. */ - if (INSN_DELETED_P (output_reload_insn)) + if (output_reload_insn->deleted ()) return; /* Get the raw pseudo-register referred to. */ |