aboutsummaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-04 23:24:46 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-04 23:24:46 +0000
commitf014fc47071eec34827a633d8f6e91743264db56 (patch)
treed08e3594de0932af4aa9cc25a3af68c15a882bf0 /gcc/jump.c
parente0ce77087ddb36d0f29bdc43b840b7dbdec6d478 (diff)
downloadgcc-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.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/gcc/jump.c b/gcc/jump.c
index b84841c..ed6ef1e 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -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. */