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/dwarf2out.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/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 0d5896c..9dd2f88 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -19051,7 +19051,7 @@ gen_label_die (tree decl, dw_die_ref context_die) represent source-level labels which were explicitly declared by the user. This really shouldn't be happening though, so catch it if it ever does happen. */ - gcc_assert (!INSN_DELETED_P (insn)); + gcc_assert (!as_a<rtx_insn *> (insn)->deleted ()); ASM_GENERATE_INTERNAL_LABEL (label, "L", CODE_LABEL_NUMBER (insn)); add_AT_lbl_id (lbl_die, DW_AT_low_pc, label); @@ -21328,7 +21328,7 @@ dwarf2out_var_location (rtx_insn *loc_note) next_note = NEXT_INSN (loc_note); if (! next_note - || INSN_DELETED_P (next_note) + || next_note->deleted () || ! NOTE_P (next_note) || (NOTE_KIND (next_note) != NOTE_INSN_VAR_LOCATION && NOTE_KIND (next_note) != NOTE_INSN_CALL_ARG_LOCATION)) |