diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2012-10-11 18:54:47 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2012-10-11 18:54:47 +0000 |
commit | e6a7da82a98953d0c817367d410ccb080861b7da (patch) | |
tree | c1dfc7cfd88768e4decf85c593946bf539aa4254 /gcc/ira-conflicts.c | |
parent | d2a934a5a55627c87d94fda02d563aa9b69390be (diff) | |
download | gcc-e6a7da82a98953d0c817367d410ccb080861b7da.zip gcc-e6a7da82a98953d0c817367d410ccb080861b7da.tar.gz gcc-e6a7da82a98953d0c817367d410ccb080861b7da.tar.bz2 |
ira-build.c (ira_loop_tree_body_rev_postorder): New function.
* ira-build.c (ira_loop_tree_body_rev_postorder): New function.
(ira_traverse_loop_tree): Traverse a loop's basic blocks in
reverse post-order of the reversed control-flow direction.
* ira-conflicts.c (ira_build_conflicts): Pass add_copies as
the pre-order function to ira_traverse_loop_tree to preserve
the existing semantics.
* ira-lives.c (remove_some_program_points_and_update_live_ranges):
Squeeze out live range chain elements if their program points are
connected.
From-SVN: r192378
Diffstat (limited to 'gcc/ira-conflicts.c')
-rw-r--r-- | gcc/ira-conflicts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ira-conflicts.c b/gcc/ira-conflicts.c index 583629b..d124ef2 100644 --- a/gcc/ira-conflicts.c +++ b/gcc/ira-conflicts.c @@ -860,7 +860,7 @@ ira_build_conflicts (void) ira_object_iterator oi; build_conflicts (); - ira_traverse_loop_tree (true, ira_loop_tree_root, NULL, add_copies); + ira_traverse_loop_tree (true, ira_loop_tree_root, add_copies, NULL); /* We need finished conflict table for the subsequent call. */ if (flag_ira_region == IRA_REGION_ALL || flag_ira_region == IRA_REGION_MIXED) |