diff options
author | Martin Liska <mliska@suse.cz> | 2014-12-22 09:54:19 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2014-12-22 08:54:19 +0000 |
commit | 4008290f65988de470218021818009fddeaf50dd (patch) | |
tree | 6176621250914a21a9d2683fd1c64438388fa094 /gcc/toplev.c | |
parent | fe55e976f18232df8ca3c1c928edb54fe06402c0 (diff) | |
download | gcc-4008290f65988de470218021818009fddeaf50dd.zip gcc-4008290f65988de470218021818009fddeaf50dd.tar.gz gcc-4008290f65988de470218021818009fddeaf50dd.tar.bz2 |
New symbol_summary class introduced.
* cgraph.h (symbol_table::allocate_cgraph_symbol): Summary UID
is filled up.
* symbol-summary.h: New file.
* gengtype.c (open_base_files): Add symbol-summary.h.
* toplev.c (general_init): Call constructor of symbol_table.
From-SVN: r219004
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 04f63df..7e06247 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -92,6 +92,7 @@ along with GCC; see the file COPYING3. If not see #include "dwarf2out.h" #include "bitmap.h" #include "ipa-reference.h" +#include "symbol-summary.h" #include "ipa-prop.h" #include "gcse.h" #include "insn-codes.h" @@ -1212,7 +1213,7 @@ general_init (const char *argv0) /* Create the singleton holder for global state. Doing so also creates the pass manager and with it the passes. */ g = new gcc::context (); - symtab = ggc_cleared_alloc <symbol_table> (); + symtab = new (ggc_cleared_alloc <symbol_table> ()) symbol_table (); statistics_early_init (); finish_params (); |