]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-ssa-threadedge.c (thread_across_edge): Remove unused parameter in call to cond_a...
authorJeff Law <law@redhat.com>
Wed, 24 Oct 2012 00:43:24 +0000 (18:43 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 24 Oct 2012 00:43:24 +0000 (18:43 -0600)
       * tree-ssa-threadedge.c (thread_across_edge): Remove unused
        parameter in call to cond_arg_set_in_bb.

From-SVN: r192754

gcc/ChangeLog
gcc/tree-ssa-threadedge.c

index cda72a02c2da4fb12258bf099493649628eff580..fe529925d4e06bbb24fc0368e3464d0821455b63 100644 (file)
@@ -1,5 +1,8 @@
 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
        debugging argument.
 
index 4669f6572f9056facd33415cd6fa7f181d7cde5c..6249e2f54c6fb7dd80007cec60ffd68ca49f80d1 100644 (file)
@@ -743,7 +743,7 @@ thread_across_edge (gimple dummy_cond,
      safe to thread this edge.  */
   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;
     }
 
@@ -787,7 +787,7 @@ thread_across_edge (gimple dummy_cond,
             of threading without having to re-run DOM or VRP.  */
          if (dest
              && ((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
                 visited.  This may be overly conservative.  */
@@ -846,7 +846,7 @@ thread_across_edge (gimple dummy_cond,
        do
          {
            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,
                                              dummy_cond,
                                              handle_dominating_asserts,