aboutsummaryrefslogtreecommitdiff
path: root/gcc/basic-block.h
diff options
context:
space:
mode:
authorJason Eckhardt <jle@cygnus.com>2000-03-16 14:56:55 +0000
committerJason Eckhardt <jle@gcc.gnu.org>2000-03-16 14:56:55 +0000
commit295ae8170c37fec29e0c385b1ab0f2e8dab4dc17 (patch)
treef3ae6e2e07c4fd2a16104bf92617881e95c693af /gcc/basic-block.h
parente1e97c4f15e638cbace4f54ec987525f20893fa5 (diff)
downloadgcc-295ae8170c37fec29e0c385b1ab0f2e8dab4dc17.zip
gcc-295ae8170c37fec29e0c385b1ab0f2e8dab4dc17.tar.gz
gcc-295ae8170c37fec29e0c385b1ab0f2e8dab4dc17.tar.bz2
flow.c: Move all basic block reordering code into its own file.
* flow.c: Move all basic block reordering code into its own file. (create_basic_block): Externalize. * bb-reorder.c: New file. Copy all basic block reordering code from flow.c to this file. (reorder_basic_blocks): Fix fencepost error in for-loop. (reorder_basic_blocks): Remove braces from single statement for-loops. * basic-block.h: Add declaration for create_basic_block. * Makefile.in: Add rules for bb-reorder.o. From-SVN: r32585
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r--gcc/basic-block.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index 0aef32b..7705daa 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -227,6 +227,7 @@ extern void flow_delete_insn_chain PARAMS ((rtx, rtx));
extern void make_edge PARAMS ((sbitmap *, basic_block,
basic_block, int));
extern void remove_edge PARAMS ((edge));
+extern void create_basic_block PARAMS ((int, rtx, rtx, rtx));
/* Structure to hold information for each natural loop. */