Commit f6778644 by Jeff Law Committed by Jeff Law

tree-ssa-threadedge.c (thread_across_edge): Remove unused parameter in call to cond_arg_set_in_bb.

       * tree-ssa-threadedge.c (thread_across_edge): Remove unused
        parameter in call to cond_arg_set_in_bb.

From-SVN: r192754
parent b3df8bd7
2012-10-23 Jeff Law <law@redhat.com> 2012-10-23 Jeff Law <law@redhat.com>
* tree-ssa-threadedge.c (thread_across_edge): Remove unused
parameter in call to cond_arg_set_in_bb.
* tree-ssa-threadedge.c (cond_arg_set_in_bb): Remove unused * tree-ssa-threadedge.c (cond_arg_set_in_bb): Remove unused
debugging argument. debugging argument.
...@@ -743,7 +743,7 @@ thread_across_edge (gimple dummy_cond, ...@@ -743,7 +743,7 @@ thread_across_edge (gimple dummy_cond,
safe to thread this edge. */ safe to thread this edge. */
if (e->flags & EDGE_DFS_BACK) if (e->flags & EDGE_DFS_BACK)
{ {
if (cond_arg_set_in_bb (e, e->dest, 1)) if (cond_arg_set_in_bb (e, e->dest))
goto fail; goto fail;
} }
...@@ -787,7 +787,7 @@ thread_across_edge (gimple dummy_cond, ...@@ -787,7 +787,7 @@ thread_across_edge (gimple dummy_cond,
of threading without having to re-run DOM or VRP. */ of threading without having to re-run DOM or VRP. */
if (dest if (dest
&& ((e->flags & EDGE_DFS_BACK) == 0 && ((e->flags & EDGE_DFS_BACK) == 0
|| ! cond_arg_set_in_bb (taken_edge, e->dest, 2))) || ! cond_arg_set_in_bb (taken_edge, e->dest)))
{ {
/* We don't want to thread back to a block we have already /* We don't want to thread back to a block we have already
visited. This may be overly conservative. */ visited. This may be overly conservative. */
...@@ -846,7 +846,7 @@ thread_across_edge (gimple dummy_cond, ...@@ -846,7 +846,7 @@ thread_across_edge (gimple dummy_cond,
do do
{ {
if ((e->flags & EDGE_DFS_BACK) == 0 if ((e->flags & EDGE_DFS_BACK) == 0
|| ! cond_arg_set_in_bb (e3, e->dest, 3)) || ! cond_arg_set_in_bb (e3, e->dest))
e2 = thread_around_empty_block (e3, e2 = thread_around_empty_block (e3,
dummy_cond, dummy_cond,
handle_dominating_asserts, handle_dominating_asserts,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment