tree-ssa.c (init_tree_ssa): Do not call init_alias_heapvars.
* tree-ssa.c (init_tree_ssa): Do not call init_alias_heapvars. * tree-ssa-structalias.c (compute_points_to_sets): Do call init_alias_heapvars. (init_alias_heapvars): Initialize only when not already initialized. (delete_alias_heapvars): Set heapvar_for_stmt to NULL. From-SVN: r120983
This commit is contained in:
parent
d6e2570089
commit
c9fa8bd45b
@ -1,3 +1,11 @@
|
||||
2007-01-20 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* tree-ssa.c (init_tree_ssa): Do not call init_alias_heapvars.
|
||||
* tree-ssa-structalias.c (compute_points_to_sets): Do call
|
||||
init_alias_heapvars.
|
||||
(init_alias_heapvars): Initialize only when not already initialized.
|
||||
(delete_alias_heapvars): Set heapvar_for_stmt to NULL.
|
||||
|
||||
2007-01-19 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* common.opt (fsigned-zeros): New command line option.
|
||||
|
@ -4692,6 +4692,7 @@ compute_points_to_sets (struct alias_info *ai)
|
||||
timevar_push (TV_TREE_PTA);
|
||||
|
||||
init_alias_vars ();
|
||||
init_alias_heapvars ();
|
||||
|
||||
intra_create_variable_infos ();
|
||||
|
||||
@ -4934,6 +4935,7 @@ struct tree_opt_pass pass_ipa_pta =
|
||||
void
|
||||
init_alias_heapvars (void)
|
||||
{
|
||||
if (!heapvar_for_stmt)
|
||||
heapvar_for_stmt = htab_create_ggc (11, tree_map_hash, tree_map_eq,
|
||||
NULL);
|
||||
}
|
||||
@ -4942,6 +4944,7 @@ void
|
||||
delete_alias_heapvars (void)
|
||||
{
|
||||
htab_delete (heapvar_for_stmt);
|
||||
heapvar_for_stmt = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
@ -778,7 +778,6 @@ init_tree_ssa (void)
|
||||
var_ann_eq, NULL);
|
||||
cfun->gimple_df->call_clobbered_vars = BITMAP_GGC_ALLOC ();
|
||||
cfun->gimple_df->addressable_vars = BITMAP_GGC_ALLOC ();
|
||||
init_alias_heapvars ();
|
||||
init_ssanames ();
|
||||
init_phinodes ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user