diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-11-04 23:24:46 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-11-04 23:24:46 +0000 |
commit | f014fc47071eec34827a633d8f6e91743264db56 (patch) | |
tree | d08e3594de0932af4aa9cc25a3af68c15a882bf0 /gcc/jump.c | |
parent | e0ce77087ddb36d0f29bdc43b840b7dbdec6d478 (diff) | |
download | gcc-f014fc47071eec34827a633d8f6e91743264db56.zip gcc-f014fc47071eec34827a633d8f6e91743264db56.tar.gz gcc-f014fc47071eec34827a633d8f6e91743264db56.tar.bz2 |
jump.c (cleanup_barriers): Use delete_insn instead of delete_barrier.
* jump.c (cleanup_barriers): Use delete_insn instead of
delete_barrier.
(delete_barrier): Remove.
* rtl.h: Remove the corresponding prototype.
From-SVN: r90090
Diffstat (limited to 'gcc/jump.c')
-rw-r--r-- | gcc/jump.c | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -114,7 +114,7 @@ cleanup_barriers (void) { prev = prev_nonnote_insn (insn); if (BARRIER_P (prev)) - delete_barrier (insn); + delete_insn (insn); else if (prev != PREV_INSN (insn)) reorder_insns (insn, insn, prev); } @@ -1167,17 +1167,6 @@ delete_jump (rtx insn) delete_computation (insn); } -/* Verify INSN is a BARRIER and delete it. */ - -void -delete_barrier (rtx insn) -{ - if (!BARRIER_P (insn)) - abort (); - - delete_insn (insn); -} - /* Recursively delete prior insns that compute the value (used only by INSN which the caller is deleting) stored in the register mentioned by NOTE which is a REG_DEAD note associated with INSN. */ |