Commit dacd445e by Martin Liska Committed by Martin Liska

IPA C++ refactoring fix.

	* cgraphunit.c (compile): Correct function used.
        * rs6000.c (rs6000_xcoff_declare_function_name): Correct symtab_node funtion used.
        (rs6000_xcoff_declare_object_name): Likewise.

From-SVN: r212993
parent 52d8a590
2014-07-24 Martin Liska <mliska@suse.cz>
* rs6000.c (rs6000_xcoff_declare_function_name): Correct symtab_node
funtion used.
(rs6000_xcoff_declare_object_name): Likewise.
2014-05-14 Sandra Loosemore <sandra@codesourcery.com>
* mt-nios2-elf: New file.
......
2014-07-24 Martin Liska <mliska@suse.cz>
* cgraphunit.c (compile): Correct function used.
2014-07-24 Jan Hubicka <hubicka@ucw.cz>
* lto-streamer-out.c (tree_is_indexable): Consider IMPORTED_DECL
......
......@@ -2246,7 +2246,7 @@ compile (void)
(DECL_ASSEMBLER_NAME (node->decl)) = 1;
TREE_CHAIN (DECL_ASSEMBLER_NAME (node->decl))
= (node->alias_target ? node->alias_target
: DECL_ASSEMBLER_NAME (symtab_alias_target (node)->decl));
: DECL_ASSEMBLER_NAME (node->get_alias_target ()->decl));
}
#endif
......
......@@ -29595,7 +29595,7 @@ rs6000_xcoff_declare_function_name (FILE *file, const char *name, tree decl)
fputs (TARGET_32BIT ? "[DS]\n" : "[DS],3\n", file);
RS6000_OUTPUT_BASENAME (file, buffer);
fputs (":\n", file);
symtab_for_node_and_aliases (symtab_get_node (decl), rs6000_declare_alias, &data, true);
symtab_node::get (decl)->call_for_symbol_and_aliases (rs6000_declare_alias, &data, true);
fputs (TARGET_32BIT ? "\t.long ." : "\t.llong .", file);
RS6000_OUTPUT_BASENAME (file, buffer);
fputs (", TOC[tc0], 0\n", file);
......@@ -29605,7 +29605,7 @@ rs6000_xcoff_declare_function_name (FILE *file, const char *name, tree decl)
RS6000_OUTPUT_BASENAME (file, buffer);
fputs (":\n", file);
data.function_descriptor = true;
symtab_for_node_and_aliases (symtab_get_node (decl), rs6000_declare_alias, &data, true);
symtab_node::get (decl)->call_for_symbol_and_aliases (rs6000_declare_alias, &data, true);
if (write_symbols != NO_DEBUG && !DECL_IGNORED_P (decl))
xcoffout_declare_function (file, decl, buffer);
return;
......@@ -29621,7 +29621,7 @@ rs6000_xcoff_declare_object_name (FILE *file, const char *name, tree decl)
struct declare_alias_data data = {file, false};
RS6000_OUTPUT_BASENAME (file, name);
fputs (":\n", file);
symtab_for_node_and_aliases (symtab_get_node (decl), rs6000_declare_alias, &data, true);
symtab_node::get (decl)->call_for_symbol_and_aliases (rs6000_declare_alias, &data, true);
}
#ifdef HAVE_AS_TLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment