2009-06-27 Paolo Bonzini <bonzini@gnu.org>
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Jun 2009 15:52:26 +0000 (15:52 +0000)
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Jun 2009 15:52:26 +0000 (15:52 +0000)
* tree-ssa-alias.c: Fix unintentional commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149013 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 484fb5c..08bb279 100644 (file)
@@ -1,5 +1,9 @@
 2009-06-27  Paolo Bonzini  <bonzini@gnu.org>
 
+       * tree-ssa-alias.c: Fix unintentional commit.
+
+2009-06-27  Paolo Bonzini  <bonzini@gnu.org>
+
        * passes.c (execute_one_pass): Fix unintentional commit.
 
 2009-06-27  Paolo Bonzini  <bonzini@gnu.org>
index f14fa09..1473367 100644 (file)
@@ -1358,10 +1358,13 @@ walk_non_aliased_vuses (ao_ref *ref, tree vuse,
   bitmap visited = NULL;
   void *res;
 
+  timevar_push (TV_ALIAS_STMT_WALK);
+
   do
     {
       gimple def_stmt;
 
+      /* ???  Do we want to account this to TV_ALIAS_STMT_WALK?  */
       res = (*walker) (ref, vuse, data);
       if (res)
        break;
@@ -1397,6 +1400,8 @@ walk_non_aliased_vuses (ao_ref *ref, tree vuse,
   if (visited)
     BITMAP_FREE (visited);
 
+  timevar_pop (TV_ALIAS_STMT_WALK);
+
   return res;
 }
 
@@ -1440,6 +1445,7 @@ walk_aliased_vdefs_1 (tree ref, tree vdef,
          return cnt;
        }
 
+      /* ???  Do we want to account this to TV_ALIAS_STMT_WALK?  */
       cnt++;
       if ((!ref
           || stmt_may_clobber_ref_p (def_stmt, ref))
@@ -1459,11 +1465,15 @@ walk_aliased_vdefs (tree ref, tree vdef,
   bitmap local_visited = NULL;
   unsigned int ret;
 
+  timevar_push (TV_ALIAS_STMT_WALK);
+
   ret = walk_aliased_vdefs_1 (ref, vdef, walker, data,
                              visited ? visited : &local_visited, 0);
   if (local_visited)
     BITMAP_FREE (local_visited);
 
+  timevar_pop (TV_ALIAS_STMT_WALK);
+
   return ret;
 }