aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2009-06-27 15:52:26 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2009-06-27 15:52:26 +0000
commit8122ccf175f39e9db97f39d4bd700845bd28f714 (patch)
treea1f6219d8e627bb1dcbf340dd3ddf07e91121792
parentb9cafe603a0b45eeaddf45c6aea0d99e79ca036a (diff)
downloadgcc-8122ccf175f39e9db97f39d4bd700845bd28f714.zip
gcc-8122ccf175f39e9db97f39d4bd700845bd28f714.tar.gz
gcc-8122ccf175f39e9db97f39d4bd700845bd28f714.tar.bz2
tree-ssa-alias.c: Fix unintentional commit.
2009-06-27 Paolo Bonzini <bonzini@gnu.org> * tree-ssa-alias.c: Fix unintentional commit. From-SVN: r149013
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree-ssa-alias.c10
2 files changed, 14 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 484fb5c..08bb279 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c
index f14fa09..1473367 100644
--- a/gcc/tree-ssa-alias.c
+++ b/gcc/tree-ssa-alias.c
@@ -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;
}