diff options
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index be1f10e4165..377adce517e 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -25,7 +25,6 @@ along with GCC; see the file COPYING3. If not see #include "is-a.h" #include "plugin-api.h" #include "vec.h" -#include "basic-block.h" #include "hashtab.h" #include "hash-set.h" #include "machmode.h" @@ -2278,21 +2277,6 @@ symbol_table::unregister (symtab_node *node) node->previous = NULL; } -/* Allocate new callgraph node and insert it into basic data structures. */ - -inline cgraph_node * -symbol_table::create_empty (void) -{ - cgraph_node *node = allocate_cgraph_symbol (); - - node->type = SYMTAB_FUNCTION; - node->frequency = NODE_FREQUENCY_NORMAL; - node->count_materialization_scale = REG_BR_PROB_BASE; - cgraph_count++; - - return node; -} - /* Release a callgraph NODE with UID and put in to the list of free nodes. */ inline void |