Commit e541e62f by Tom de Vries Committed by Tom de Vries

Inline get_vi_for_tree into intra_create_variable_infos

2015-10-26  Tom de Vries  <tom@codesourcery.com>

	* tree-ssa-structalias.c (intra_create_variable_infos): Inline
	get_vi_for_tree call.

From-SVN: r229322
parent 77237288
2015-10-26 Tom de Vries <tom@codesourcery.com>
* tree-ssa-structalias.c (intra_create_variable_infos): Inline
get_vi_for_tree call.
2015-10-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 2015-10-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR middle-end/67989 PR middle-end/67989
...@@ -5857,7 +5857,12 @@ intra_create_variable_infos (struct function *fn) ...@@ -5857,7 +5857,12 @@ intra_create_variable_infos (struct function *fn)
passed-by-reference argument. */ passed-by-reference argument. */
for (t = DECL_ARGUMENTS (fn->decl); t; t = DECL_CHAIN (t)) for (t = DECL_ARGUMENTS (fn->decl); t; t = DECL_CHAIN (t))
{ {
varinfo_t p = get_vi_for_tree (t); varinfo_t p = lookup_vi_for_tree (t);
if (p == NULL)
{
p = create_variable_info_for_1 (t, alias_get_name (t));
insert_vi_for_tree (t, p);
}
/* For restrict qualified pointers build a representative for /* For restrict qualified pointers build a representative for
the pointed-to object. Note that this ends up handling the pointed-to object. Note that this ends up handling
......
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