/* Null garbage collection for the GNU compiler.
- Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
need GC at all. This prevents problems with pulling in all the
tree stuff. */
-/* We are used by gengenrtl, before genrtl.h exists. But we don't
- need it either. */
-#define NO_GENRTL_H
-
#include "config.h"
#include "system.h"
-#include "rtl.h"
-#include "tm_p.h"
#include "ggc.h"
-/* For now, keep using the old obstack scheme in the gen* programs. */
-int ggc_p = 0;
-
void *
-ggc_alloc_obj (size, zero)
+ggc_alloc (size)
size_t size;
- int zero;
{
- void *p = xmalloc (size);
- if (zero)
- memset (p, 0, size);
- return p;
+ return xmalloc (size);
}