summaryrefslogtreecommitdiff
path: root/gcc/ggc-none.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ggc-none.c')
-rw-r--r--gcc/ggc-none.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/gcc/ggc-none.c b/gcc/ggc-none.c
index 659bf931d09..0a97d95456b 100644
--- a/gcc/ggc-none.c
+++ b/gcc/ggc-none.c
@@ -32,31 +32,33 @@ 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)
+ggc_alloc_typed_stat (enum gt_types_enum gte ATTRIBUTE_UNUSED, size_t size
+ MEM_STAT_DECL)
{
return xmalloc (size);
}
void *
-ggc_alloc (size_t size)
+ggc_alloc_stat (size_t size MEM_STAT_DECL)
{
return xmalloc (size);
}
void *
-ggc_alloc_zone (size_t size, struct alloc_zone *zone ATTRIBUTE_UNUSED)
+ggc_alloc_zone_stat (size_t size, struct alloc_zone *zone ATTRIBUTE_UNUSED
+ MEM_STAT_DECL)
{
return xmalloc (size);
}
void *
-ggc_alloc_cleared (size_t size)
+ggc_alloc_cleared_stat (size_t size MEM_STAT_DECL)
{
return xcalloc (size, 1);
}
void *
-ggc_realloc (void *x, size_t size)
+ggc_realloc_stat (void *x, size_t size MEM_STAT_DECL)
{
return xrealloc (x, size);
}