summaryrefslogtreecommitdiff
path: root/gcc/cfglayout.c
diff options
context:
space:
mode:
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-16 20:15:29 +0000
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-16 20:15:29 +0000
commitad70d3b0cdc879e88e15c357e0524811441cc613 (patch)
tree2501d5dda3f5590e18e0969fd051c602eba3e9cc /gcc/cfglayout.c
parent9912f451af752aa8f28138b357ba97fa77eb7ece (diff)
downloadgcc-ad70d3b0cdc879e88e15c357e0524811441cc613.tar.gz
* cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
to .... (fixup_fallthru_exit_predecessor): ... this. Change callers and prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47098 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfglayout.c')
-rw-r--r--gcc/cfglayout.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c
index d93d44f7fed..1907bafc191 100644
--- a/gcc/cfglayout.c
+++ b/gcc/cfglayout.c
@@ -1,5 +1,5 @@
/* Basic block reordering routines for the GNU compiler.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001 Free Software Foundation, Inc.
This file is part of GCC.
@@ -110,7 +110,7 @@ static rtx get_next_bb_note PARAMS ((rtx));
static rtx get_prev_bb_note PARAMS ((rtx));
void verify_insn_chain PARAMS ((void));
-static basic_block fixup_fallthru_exit_predecesor PARAMS ((void));
+static void fixup_fallthru_exit_predecessor PARAMS ((void));
/* Skip over inter-block insns occurring after BB which are typically
associated with BB (e.g., barriers). If there are any such insns,
@@ -1043,10 +1043,10 @@ verify_insn_chain ()
}
}
-/* The block falling trought to exit must be last in the reordered
- chain. Make it happen so. */
-static basic_block
-fixup_fallthru_exit_predecesor ()
+/* The block falling through to exit must be the last one in the
+ reordered chain. Ensure that this condition is met. */
+static void
+fixup_fallthru_exit_predecessor ()
{
edge e;
basic_block bb = NULL;
@@ -1087,7 +1087,7 @@ cfg_layout_initialize ()
void
cfg_layout_finalize ()
{
- fixup_fallthru_exit_predecesor ();
+ fixup_fallthru_exit_predecessor ();
fixup_reorder_chain ();
#ifdef ENABLE_CHECKING
verify_insn_chain ();