diff options
author | Jan Hubicka <jh@suse.cz> | 2012-04-10 18:03:36 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2012-04-10 16:03:36 +0000 |
commit | 1f00098bf3a107ecf463cd31fc1ff50f960e1013 (patch) | |
tree | 7f3b302f0d6eb4540bd850a0c5e0a38b29f73019 /gcc/cgraph.c | |
parent | b43645b85249fcae9071fc4bcc1e9b54c15b313f (diff) | |
download | gcc-1f00098bf3a107ecf463cd31fc1ff50f960e1013.zip gcc-1f00098bf3a107ecf463cd31fc1ff50f960e1013.tar.gz gcc-1f00098bf3a107ecf463cd31fc1ff50f960e1013.tar.bz2 |
cgraph.h: Remove misledaing comment on ipa-ref.h.
* cgraph.h: Remove misledaing comment on ipa-ref.h.
(symtab_type): New enum.
(symtab_node): New structure.
(cgraph_node, varpool_node): Add symbol base type.
(cgraph, varpool): New accestor functions.
* cgraph.c (cgraph_create_node_1): Set symbol type.
* varpool.c (varpool_node): Set symbol type.
From-SVN: r186284
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 6c31507..61a8e23 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -473,6 +473,7 @@ cgraph_create_node_1 (void) { struct cgraph_node *node = cgraph_allocate_node (); + node->symbol.type = SYMTAB_FUNCTION; node->next = cgraph_nodes; node->order = cgraph_order++; if (cgraph_nodes) |