diff options
Diffstat (limited to 'gcc/tree-profile.c')
-rw-r--r-- | gcc/tree-profile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-profile.c b/gcc/tree-profile.c index 31d305b..ba90196 100644 --- a/gcc/tree-profile.c +++ b/gcc/tree-profile.c @@ -565,7 +565,7 @@ tree_profiling (void) /* This is a small-ipa pass that gets called only once, from cgraphunit.c:ipa_passes(). */ - gcc_assert (cgraph_state == CGRAPH_STATE_IPA_SSA); + gcc_assert (symtab->state == IPA_SSA); init_node_map (true); @@ -657,7 +657,7 @@ tree_profiling (void) cleanup_tree_cfg (); update_ssa (TODO_update_ssa); - rebuild_cgraph_edges (); + cgraph_edge::rebuild_edges (); pop_cfun (); } |