Commit 8122ccf1 by Paolo Bonzini Committed by Paolo Bonzini

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
parent b9cafe60
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>
......
......@@ -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;
}
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