compiler: Don't call cgraph_mark_needed_node.

From-SVN: r186644
This commit is contained in:
Ian Lance Taylor 2012-04-20 21:20:36 +00:00
parent 4c1e23754a
commit 8512b2843f
1 changed files with 0 additions and 1 deletions

View File

@ -495,7 +495,6 @@ Gogo::write_initialization_function(tree fndecl, tree init_stmt_list)
gimplify_function_tree(fndecl);
cgraph_add_new_function(fndecl, false);
cgraph_mark_needed_node(cgraph_get_node(fndecl));
current_function_decl = NULL_TREE;
pop_cfun();