diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-19 05:26:48 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-19 05:26:48 +0000 |
commit | f1ab82bec0bcd2973783a648a073f6c65dc31985 (patch) | |
tree | 7e5085f497fa4f8351b62a15342abb5192c649b0 /gcc/function.h | |
parent | ad63a0fca1c16a7b56f4f29888a87ee535cb9f4c (diff) | |
download | gcc-f1ab82bec0bcd2973783a648a073f6c65dc31985.tar.gz |
* emit-rtl.c (remove_unncessary_notes): Check that all
NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
associated NOTE_BLOCK.
* function.h (identify_blocks): Update comments.
(reorder_blocks): Declare.
* function.c (identify_blocks): Don't take paramters.
(reorder_blocks): Don't take parameters.
* loop.h (find_loop_tree_blocks): Remove.
(unroll_block_trees): Likewise.
* loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
reorder_blocks instead of unroll_block_trees.h
* sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
* stmt.c (find_loop_tree_blocks): Remove.
(unroll_block_trees): Likewise.
* toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
in whole-function mode.
* tree.h (reorder_blocks): Remove declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32632 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gcc/function.h b/gcc/function.h index 8b26ec2e371..5c7aa414d30 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -303,7 +303,7 @@ struct function /* Nonzero if this function is being processed in function-at-a-time mode. In other words, if all tree structure for this function, - including the BLOCK tree is created, before RTL generation + including the BLOCK tree, is created before RTL generation commences. */ int x_whole_function_mode_p; @@ -548,10 +548,12 @@ struct function *find_function_data PARAMS ((tree)); /* Pointer to chain of `struct function' for containing functions. */ extern struct function *outer_function_chain; -/* Put all this function's BLOCK nodes into a vector and return it. - Also store in each NOTE for the beginning or end of a block - the index of that block in the vector. */ -extern void identify_blocks PARAMS ((tree, rtx)); +/* Set NOTE_BLOCK for each block note in the current function. */ +extern void identify_blocks PARAMS ((void)); + +/* Identify BLOCKs referenced by more than one NOTE_INSN_BLOCK_{BEG,END}, + and create duplicate blocks. */ +extern void reorder_blocks PARAMS ((void)); /* Set BLOCK_NUMBER for all the blocks in FN. */ extern void number_blocks PARAMS ((tree)); |