diff options
Diffstat (limited to 'gcc/ggc-none.c')
-rw-r--r-- | gcc/ggc-none.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/ggc-none.c b/gcc/ggc-none.c index ee53e761a85..659bf931d09 100644 --- a/gcc/ggc-none.c +++ b/gcc/ggc-none.c @@ -28,6 +28,14 @@ #include "coretypes.h" #include "tm.h" #include "ggc.h" +struct alloc_zone *rtl_zone = NULL; +struct alloc_zone *garbage_zone = NULL; + +void * +ggc_alloc_typed (enum gt_types_enum gte ATTRIBUTE_UNUSED, size_t size) +{ + return xmalloc (size); +} void * ggc_alloc (size_t size) @@ -36,6 +44,12 @@ ggc_alloc (size_t size) } void * +ggc_alloc_zone (size_t size, struct alloc_zone *zone ATTRIBUTE_UNUSED) +{ + return xmalloc (size); +} + +void * ggc_alloc_cleared (size_t size) { return xcalloc (size, 1); |