aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfghooks.c
diff options
context:
space:
mode:
authorLaurynas Biveinis <laurynas.biveinis@gmail.com>2009-04-22 04:48:34 +0000
committerLaurynas Biveinis <lauras@gcc.gnu.org>2009-04-22 04:48:34 +0000
commit3cabd6d17c8ea1b9a2a7cd666339eb07e736ac6e (patch)
treefd5b391992d702a834e6c7d9b01f77bb4d0f61fb /gcc/cfghooks.c
parent270d1bcd872941a085c433b14499cb91fca6e66c (diff)
downloadgcc-3cabd6d17c8ea1b9a2a7cd666339eb07e736ac6e.zip
gcc-3cabd6d17c8ea1b9a2a7cd666339eb07e736ac6e.tar.gz
gcc-3cabd6d17c8ea1b9a2a7cd666339eb07e736ac6e.tar.bz2
cfghooks.c (tidy_fallthru_edges): Remove find_basic_blocks references from comments.
2009-04-22 Laurynas Biveinis <laurynas.biveinis@gmail.com> * cfghooks.c (tidy_fallthru_edges): Remove find_basic_blocks references from comments. * cfgbuild.c: (count_basic_blocks): Delete. (find_basic_blocks_1): Delete. (find_basic_blocks): Delete. * except.c (finish_eh_generation): Make static. Move comment from except.h here. Remove find_basic_blocks references from comments. * except.h (finish_eh_generation): Delete. * basic-block.h (find_basic_blocks): Delete. * config/sh/sh.c (sh_output_mi_thunk): Delete a "#if 0" block. From-SVN: r146544
Diffstat (limited to 'gcc/cfghooks.c')
-rw-r--r--gcc/cfghooks.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c
index 10c04a8..2c65726 100644
--- a/gcc/cfghooks.c
+++ b/gcc/cfghooks.c
@@ -829,7 +829,7 @@ tidy_fallthru_edge (edge e)
/* Fix up edges that now fall through, or rather should now fall through
but previously required a jump around now deleted blocks. Simplify
the search by only examining blocks numerically adjacent, since this
- is how find_basic_blocks created them. */
+ is how they were created. */
void
tidy_fallthru_edges (void)
@@ -852,9 +852,9 @@ tidy_fallthru_edges (void)
a single successor.
If we had a conditional branch to the next instruction when
- find_basic_blocks was called, then there will only be one
- out edge for the block which ended with the conditional
- branch (since we do not create duplicate edges).
+ CFG was built, then there will only be one out edge for the
+ block which ended with the conditional branch (since we do
+ not create duplicate edges).
Furthermore, the edge will be marked as a fallthru because we
merge the flags for the duplicate edges. So we do not want to