summaryrefslogtreecommitdiff
path: root/gcc/cfghooks.c
diff options
context:
space:
mode:
authorlauras <lauras@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-22 04:48:34 +0000
committerlauras <lauras@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-22 04:48:34 +0000
commit2ea77971ee058ff5608c1f4dd45f410a87a5152c (patch)
treefd5b391992d702a834e6c7d9b01f77bb4d0f61fb /gcc/cfghooks.c
parent46b5e7dce99bf275c52c5165f1b6ed091df79680 (diff)
downloadgcc-2ea77971ee058ff5608c1f4dd45f410a87a5152c.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146544 138bc75d-0d04-0410-961f-82ee72b054a4
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 10c04a8b057..2c65726fe17 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