diff options
author | Richard Guenther <rguenther@suse.de> | 2012-04-10 11:56:05 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-04-10 11:56:05 +0000 |
commit | 0878843fd50d1ac01305b963a5b4c52732694f01 (patch) | |
tree | 42226e862a782231da6620d3afb31c4d4f6bec51 /gcc/cgraph.c | |
parent | c0d942d2117b785d768c5f2ab2813e4781e29e43 (diff) | |
download | gcc-0878843fd50d1ac01305b963a5b4c52732694f01.zip gcc-0878843fd50d1ac01305b963a5b4c52732694f01.tar.gz gcc-0878843fd50d1ac01305b963a5b4c52732694f01.tar.bz2 |
toplev.h (tree_rest_of_compilation): Remove.
2012-04-10 Richard Guenther <rguenther@suse.de>
* toplev.h (tree_rest_of_compilation): Remove.
* tree-optimize.c (tree_rest_of_compilation): Likewise.
* cgraph.h (tree_rest_of_compilation): Declare.
* tree-optimize.c (tree_rest_of_compilation): Move ...
* cgraphunit.c (tree_rest_of_compilation): ... here.
* cgraph.c (cgraph_add_new_function): Adjust.
* Makefile.in (tree-optimize.o): Adjust.
(cgraphunit.o): Likewise.
From-SVN: r186274
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 8ab8a0b..6c31507 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -2466,7 +2466,7 @@ cgraph_add_new_function (tree fndecl, bool lowered) if (!gimple_in_ssa_p (DECL_STRUCT_FUNCTION (fndecl))) execute_pass_list (pass_early_local_passes.pass.sub); bitmap_obstack_release (NULL); - tree_rest_of_compilation (fndecl); + tree_rest_of_compilation (node); pop_cfun (); current_function_decl = NULL; break; |