diff options
Diffstat (limited to 'gcc-4.9/gcc/ggc-page.c')
-rw-r--r-- | gcc-4.9/gcc/ggc-page.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/ggc-page.c b/gcc-4.9/gcc/ggc-page.c index ccc87eaa5..a5f86a456 100644 --- a/gcc-4.9/gcc/ggc-page.c +++ b/gcc-4.9/gcc/ggc-page.c @@ -2496,3 +2496,18 @@ ggc_pch_read (FILE *f, void *addr) /* Update the statistics. */ G.allocated = G.allocated_last_gc = offs - (char *)addr; } + +struct alloc_zone +{ + int dummy; +}; + +struct alloc_zone rtl_zone; +struct alloc_zone tree_zone; +struct alloc_zone tree_id_zone; + +size_t +ggc_total_allocated (void) +{ + return G.bytes_mapped; +} |