From 5084b2e4e0cfe71a3a91e1a5300857baebec70e3 Mon Sep 17 00:00:00 2001 From: rguenth Date: Tue, 22 May 2012 11:59:41 +0000 Subject: 2012-05-22 Richard Guenther * tree.h (VAR_DECL_IS_VIRTUAL_OPERAND): New. (init_function_for_compilation): Remove. * tree-dfa.c (find_vars_r): Take struct function argument. (find_referenced_vars_in): Adjust. * tree-ssa-operands.c (clobber_stats): Remove. (create_vop_var): Take struct function argument. Mark virtual operand with VAR_DECL_IS_VIRTUAL_OPERAND. (init_ssa_operands): Take struct function argument. (fini_ssa_operands): Do not dump dead stats. * tree-ssa-operands.h (init_ssa_operands): Take struct function argument. * cgraphunit.c (init_lowered_empty_function): Adjust. * lto-streamer-in.c (input_cfg): Likewise. * tree-inline.c (initialize_cfun): Likewise. * tree-into-ssa.c (rewrite_into_ssa): Likewise. * omp-low.c (expand_omp_taskreg): Likewise. Avoid switching cfun. * gimple.c (is_gimple_reg): Optimize the SSA_NAME case, virtual operands are not registers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187772 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cgraphunit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/cgraphunit.c') diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index e3416c6adaa..28338682cb5 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -1211,7 +1211,7 @@ init_lowered_empty_function (tree decl) gimple_register_cfg_hooks (); init_empty_tree_cfg (); init_tree_ssa (cfun); - init_ssa_operands (); + init_ssa_operands (cfun); cfun->gimple_df->in_ssa_p = true; DECL_INITIAL (decl) = make_node (BLOCK); -- cgit v1.2.3