projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e66e49
)
Call cgraph_get_node rather than cgraph_node.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Tue, 12 Apr 2011 18:51:12 +0000
(18:51 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Tue, 12 Apr 2011 18:51:12 +0000
(18:51 +0000)
This is for a recent change to the gcc middle-end.
From-SVN: r172335
gcc/go/gofrontend/gogo-tree.cc
patch
|
blob
|
history
diff --git
a/gcc/go/gofrontend/gogo-tree.cc
b/gcc/go/gofrontend/gogo-tree.cc
index 53e43c7b519deb7f04996fa714aeb343a92e03d3..a8a5b4c978fbd1f31e31d8334e9360b8cea35075 100644
(file)
--- a/
gcc/go/gofrontend/gogo-tree.cc
+++ b/
gcc/go/gofrontend/gogo-tree.cc
@@
-401,7
+401,7
@@
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_node(fndecl));
+ cgraph_mark_needed_node(cgraph_
get_
node(fndecl));
current_function_decl = NULL_TREE;
pop_cfun();