OSDN Git Service

* lto-symtab.c (lto_symtab_entry_def) Add vnode.
[pf3gnuchains/gcc-fork.git] / gcc / lto-section-in.c
index 8c2df96..16fd086 100644 (file)
@@ -29,6 +29,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "flags.h"
 #include "params.h"
 #include "input.h"
+#include "varray.h"
 #include "hashtab.h"
 #include "basic-block.h"
 #include "tree-flow.h"
@@ -42,7 +43,6 @@ along with GCC; see the file COPYING3.  If not see
 #include "output.h"
 #include "lto-streamer.h"
 #include "lto-compress.h"
-#include "ggc.h"
 
 /* Section names.  These must correspond to the values of
    enum lto_section_type.  */
@@ -433,7 +433,7 @@ lto_new_in_decl_state (void)
 {
   struct lto_in_decl_state *state;
 
-  state = ((struct lto_in_decl_state *) ggc_alloc (sizeof (*state)));
+  state = ((struct lto_in_decl_state *) xmalloc (sizeof (*state)));
   memset (state, 0, sizeof (*state));
   return state;
 }
@@ -447,8 +447,8 @@ lto_delete_in_decl_state (struct lto_in_decl_state *state)
 
   for (i = 0; i < LTO_N_DECL_STREAMS; i++)
     if (state->streams[i].trees)
-      ggc_free (state->streams[i].trees);
-  ggc_free (state);
+      free (state->streams[i].trees);
+  free (state);
 }
 
 /* Hashtable helpers. lto_in_decl_states are hash by their function decls. */