#include "cgraph.h"
#include "vec.h"
#include "vecprim.h"
-#include "alloc-pool.h"
/* Define when debugging the LTO streamer. This causes the writer
to output the numeric value for the memory address of the tree node
/* The mapping between tree nodes and slots into the nodes array. */
htab_t node_map;
- /* Node map to store entries into. */
- alloc_pool node_map_entries;
-
/* Next available slot in the nodes and offsets arrays. */
unsigned next_slot;
/* The nodes pickled so far. */
- VEC(tree,heap) *nodes;
+ VEC(tree,gc) *nodes;
/* Offset into the stream where the nodes have been written. */
VEC(unsigned,heap) *offsets;
bool referenced_from_other_partition_p (struct ipa_ref_list *,
cgraph_node_set,
varpool_node_set vset);
-bool reachable_from_other_partition_p (struct cgraph_node *,
- cgraph_node_set);
/* In lto-symtab.c. */
extern void lto_symtab_merge_cgraph_nodes (void);
extern tree lto_symtab_prevailing_decl (tree decl);
extern enum ld_plugin_symbol_resolution lto_symtab_get_resolution (tree decl);
-extern void lto_symtab_free (void);
/* In lto-opts.c. */