summaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-04 23:24:46 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-04 23:24:46 +0000
commit749a971f5eb6ffa3d472432325e31c5d6d63be36 (patch)
treed08e3594de0932af4aa9cc25a3af68c15a882bf0 /gcc/jump.c
parenta9adb06f87298350de0c4831e1a09e15c7772b47 (diff)
downloadgcc-749a971f5eb6ffa3d472432325e31c5d6d63be36.tar.gz
* jump.c (cleanup_barriers): Use delete_insn instead of
delete_barrier. (delete_barrier): Remove. * rtl.h: Remove the corresponding prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90090 138bc75d-0d04-0410-961f-82ee72b054a4
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 b84841c1754..ed6ef1e5871 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. */