diff options
Diffstat (limited to 'gcc/tree-profile.c')
-rw-r--r-- | gcc/tree-profile.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/tree-profile.c b/gcc/tree-profile.c index a5b6bc8..fa8173e 100644 --- a/gcc/tree-profile.c +++ b/gcc/tree-profile.c @@ -475,7 +475,6 @@ tree_profiling (void) continue; push_cfun (DECL_STRUCT_FUNCTION (node->symbol.decl)); - current_function_decl = node->symbol.decl; /* Local pure-const may imply need to fixup the cfg. */ if (execute_fixup_cfg () & TODO_cleanup_cfg) @@ -497,8 +496,6 @@ tree_profiling (void) easy to adjust it, if and when there is some. */ free_dominance_info (CDI_DOMINATORS); free_dominance_info (CDI_POST_DOMINATORS); - - current_function_decl = NULL; pop_cfun (); } @@ -533,7 +530,6 @@ tree_profiling (void) continue; push_cfun (DECL_STRUCT_FUNCTION (node->symbol.decl)); - current_function_decl = node->symbol.decl; FOR_EACH_BB (bb) { @@ -550,7 +546,6 @@ tree_profiling (void) rebuild_cgraph_edges (); - current_function_decl = NULL; pop_cfun (); } |