aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2017-05-23 16:28:35 +0200
committerMartin Liska <marxin@gcc.gnu.org>2017-05-23 14:28:35 +0000
commit6c52831d98b00d02a3c11b46fbf80991ef0dc0fa (patch)
treeace1eea3c695f1c68c60b7dfba0d5ba8292ddef7 /gcc/cgraphunit.c
parent3494e738cf975b8220002a25c9de4d616a60ac46 (diff)
downloadgcc-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/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index c1f4293..34f8aab 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -1208,7 +1208,7 @@ analyze_functions (bool first_time)
if (symtab->dump_file)
{
fprintf (symtab->dump_file, "\n\nInitial ");
- symtab_node::dump_table (symtab->dump_file);
+ symtab->dump (symtab->dump_file);
}
if (first_time)
@@ -1278,7 +1278,7 @@ analyze_functions (bool first_time)
if (symtab->dump_file)
{
fprintf (symtab->dump_file, "\n\nReclaimed ");
- symtab_node::dump_table (symtab->dump_file);
+ symtab->dump (symtab->dump_file);
}
bitmap_obstack_release (NULL);
ggc_collect ();
@@ -2485,7 +2485,7 @@ symbol_table::compile (void)
if (dump_file)
{
fprintf (dump_file, "Optimized ");
- symtab_node:: dump_table (dump_file);
+ symtab->dump (dump_file);
}
if (post_ipa_mem_report)
{
@@ -2551,7 +2551,7 @@ symbol_table::compile (void)
if (dump_file)
{
fprintf (dump_file, "\nFinal ");
- symtab_node::dump_table (dump_file);
+ symtab->dump (dump_file);
}
if (!flag_checking)
return;