diff options
author | zadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-20 23:10:49 +0000 |
---|---|---|
committer | zadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-20 23:10:49 +0000 |
commit | 6180f28dae8a9eda8e2e5b3bb829e9c6bae6c832 (patch) | |
tree | 3c3755600937dd34ae35ee7f0ba92fc15d99c5c7 /gcc/var-tracking.c | |
parent | eb00c7b798dcaceedb951ce4deabdd6ced716c9d (diff) | |
download | gcc-6180f28dae8a9eda8e2e5b3bb829e9c6bae6c832.tar.gz |
2005-12-20 Kenneth Zadeck <zadeck@naturalbridge.com>
* cfganal.c (flow_reverse_top_sort_order_compute):
Renamed to post_order_compute and additional parameter added which
allows the inclusion of entry and exit blocks into list.
(mark_dfs_back_edges): Fixed comment.
(flow_depth_first_order_compute): Renamed to
pre_and_rev_post_order_compute additional parameter added which
allows the inclusion of entry and exit blocks into list.
* global.c (set_up_bb_rts_numbers): Call to
flow_reverse_top_sort_order_compute renamed to
post_order_compute.
* var-tracking.c (vt_stack_adjustments): Fixed comment.
(vt_find_locations): Call to
flow_depth_first_order_compute renamed to
pre_and_rev_post_order_compute.
* cfgloop.c (flow_find_loops): Ditto.
* tree-ssa-reassoc.c (init_reassoc): Ditto.
* df.c (df_analyze_1, df_analyze_subcfg): Calls to
flow_reverse_top_sort_order_compute renamed to post_order_compute
and calls to flow_reverse_top_sort_order_compute renamed to
post_order_compute.
* basic_block.h: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108874 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/var-tracking.c')
-rw-r--r-- | gcc/var-tracking.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c index 766f6ef3aa1..046cab46d31 100644 --- a/gcc/var-tracking.c +++ b/gcc/var-tracking.c @@ -485,7 +485,7 @@ bb_stack_adjust_offset (basic_block bb) /* Compute stack adjustments for all blocks by traversing DFS tree. Return true when the adjustments on all incoming edges are consistent. - Heavily borrowed from flow_depth_first_order_compute. */ + Heavily borrowed from pre_and_rev_post_order_compute. */ static bool vt_stack_adjustments (void) @@ -1640,7 +1640,7 @@ vt_find_locations (void) so that the data-flow runs faster. */ rc_order = xmalloc ((n_basic_blocks - NUM_FIXED_BLOCKS) * sizeof (int)); bb_order = xmalloc (last_basic_block * sizeof (int)); - flow_depth_first_order_compute (NULL, rc_order); + pre_and_rev_post_order_compute (NULL, rc_order, false); for (i = 0; i < n_basic_blocks - NUM_FIXED_BLOCKS; i++) bb_order[rc_order[i]] = i; free (rc_order); |