summaryrefslogtreecommitdiff
path: root/gcc/reg-stack.c
diff options
context:
space:
mode:
authortbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-16 01:23:42 +0000
committertbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-16 01:23:42 +0000
commitdd1286fb158d55badf7feee4637c8ee21123f890 (patch)
treeafa1d791e1a24bd21d9981f0b69fd768831df3cd /gcc/reg-stack.c
parentc6d14fbf7c49e5ffc306141619b9699113d9d0aa (diff)
downloadgcc-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/reg-stack.c')
-rw-r--r--gcc/reg-stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c
index af8e3cd7ec3..8c0a5c8748b 100644
--- a/gcc/reg-stack.c
+++ b/gcc/reg-stack.c
@@ -2341,7 +2341,7 @@ subst_stack_regs (rtx_insn *insn, stack_ptr regstack)
/* subst_stack_regs_pat may have deleted a no-op insn. If so, any
REG_UNUSED will already have been dealt with, so just return. */
- if (NOTE_P (insn) || INSN_DELETED_P (insn))
+ if (NOTE_P (insn) || insn->deleted ())
return control_flow_insn_deleted;
/* If this a noreturn call, we can't insert pop insns after it.