diff options
author | Martin Liska <mliska@suse.cz> | 2017-05-23 16:28:35 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-05-23 14:28:35 +0000 |
commit | 6c52831d98b00d02a3c11b46fbf80991ef0dc0fa (patch) | |
tree | ace1eea3c695f1c68c60b7dfba0d5ba8292ddef7 /gcc/symtab.c | |
parent | 3494e738cf975b8220002a25c9de4d616a60ac46 (diff) | |
download | gcc-6c52831d98b00d02a3c11b46fbf80991ef0dc0fa.zip gcc-6c52831d98b00d02a3c11b46fbf80991ef0dc0fa.tar.gz gcc-6c52831d98b00d02a3c11b46fbf80991ef0dc0fa.tar.bz2 |
Move symtab_node::dump_table to symbol_table::dump
2017-05-23 Martin Liska <mliska@suse.cz>
* cgraph.h: Move symtab_node::dump_table to symbol_table::dump
and symtab_node::debug_symtab to symbol_table::debug.
* cgraphunit.c (analyze_functions): Use the renamed function.
(symbol_table::compile): Likewise.
* ipa-cp.c (ipcp_verify_propagated_values): Likewise.
* ipa-icf.c (sem_item_optimizer::execute): Likewise.
* passes.c (execute_todo): Likewise.
* symtab.c (symbol_table::dump): New function.
* tree-ssa-structalias.c (ipa_pta_execute): Use the renamed function.
2017-05-23 Martin Liska <mliska@suse.cz>
* lto.c (read_cgraph_and_symbols): Use the renamed function.
(do_whole_program_analysis): Use the renamed function.
From-SVN: r248368
Diffstat (limited to 'gcc/symtab.c')
-rw-r--r-- | gcc/symtab.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/gcc/symtab.c b/gcc/symtab.c index 6c41dcf..13dca7f 100644 --- a/gcc/symtab.c +++ b/gcc/symtab.c @@ -913,10 +913,8 @@ symtab_node::dump (FILE *f) vnode->dump (f); } -/* Dump symbol table to F. */ - void -symtab_node::dump_table (FILE *f) +symbol_table::dump (FILE *f) { symtab_node *node; fprintf (f, "Symbol table:\n\n"); @@ -924,15 +922,6 @@ symtab_node::dump_table (FILE *f) node->dump (f); } -/* Dump symbol table to stderr. */ - -DEBUG_FUNCTION void -symtab_node::debug_symtab (void) -{ - dump_table (stderr); -} - - /* Return the cgraph node that has ASMNAME for its DECL_ASSEMBLER_NAME. Return NULL if there's no such node. */ |