public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Go patch committed: Call cgraph_get_node
@ 2011-04-12 18:51 Ian Lance Taylor
  0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2011-04-12 18:51 UTC (permalink / raw)
  To: gcc-patches, gofrontend-dev

[-- Attachment #1: Type: text/plain, Size: 186 bytes --]

This patch to the Go frontend brings it up to date with Martin's change
to the cgraph code.  Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu.  Committed to mainline.

Ian


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch --]
[-- Type: text/x-diff, Size: 400 bytes --]

diff -r cc9719612058 go/gogo-tree.cc
--- a/go/gogo-tree.cc	Thu Apr 07 10:07:32 2011 -0700
+++ b/go/gogo-tree.cc	Tue Apr 12 11:48:59 2011 -0700
@@ -401,7 +401,7 @@
   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();

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-12 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-12 18:51 Go patch committed: Call cgraph_get_node Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).