diff options
author | Trevor Saunders <tsaunders@mozilla.com> | 2014-09-16 01:23:42 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2014-09-16 01:23:42 +0000 |
commit | 4654c0cf4a05c0af9ff3d0969382d175f5b32e7e (patch) | |
tree | afa1d791e1a24bd21d9981f0b69fd768831df3cd /gcc/resource.c | |
parent | e73de8f37af47e6568c145d41f0490338b942288 (diff) | |
download | gcc-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/resource.c')
-rw-r--r-- | gcc/resource.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/resource.c b/gcc/resource.c index 3bc422c..6acc718 100644 --- a/gcc/resource.c +++ b/gcc/resource.c @@ -931,8 +931,7 @@ mark_target_live_regs (rtx_insn *insns, rtx target_maybe_return, struct resource information, we can get it from there unless the insn at the start of the basic block has been deleted. */ if (tinfo && tinfo->block != -1 - && ! INSN_DELETED_P (BB_HEAD (BASIC_BLOCK_FOR_FN (cfun, - tinfo->block)))) + && ! BB_HEAD (BASIC_BLOCK_FOR_FN (cfun, tinfo->block))->deleted ()) b = tinfo->block; } |