go-gcc.cc (Gcc_backend::global_variable_set_init): Rename symtab_get_node to symtab_node::get.

* go-gcc.cc (Gcc_backend::global_variable_set_init): Rename
	symtab_get_node to symtab_node::get.

From-SVN: r213026
This commit is contained in:
Uros Bizjak 2014-07-24 19:58:45 +02:00
parent 9832651228
commit 0ffc395f0e
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2014-07-24 Uros Bizjak <ubizjak@gmail.com>
* go-gcc.cc (Gcc_backend::global_variable_set_init): Rename
symtab_get_node to symtab_node::get.
2014-06-13 Ian Lance Taylor <iant@google.com>
PR go/61496
@ -7,7 +12,7 @@
2014-06-10 Jan Hubicka <hubicka@ucw.cz>
* go/go-gcc.cc (Gcc_backend::global_variable_set_init): Use
* go-gcc.cc (Gcc_backend::global_variable_set_init): Use
symtab_get_node(var_decl)->implicit_section.
2014-06-07 Jan Hubicka <hubicka@ucw.cz>

View File

@ -2374,8 +2374,8 @@ Gcc_backend::global_variable_set_init(Bvariable* var, Bexpression* expr)
// If this variable goes in a unique section, it may need to go into
// a different one now that DECL_INITIAL is set.
if (symtab_get_node(var_decl)
&& symtab_get_node(var_decl)->implicit_section)
if (symtab_node::get(var_decl)
&& symtab_node::get(var_decl)->implicit_section)
{
set_decl_section_name (var_decl, NULL);
resolve_unique_section (var_decl,