summaryrefslogtreecommitdiff
path: root/gcc/ggc-zone.c
diff options
context:
space:
mode:
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-20 15:22:17 +0000
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-20 15:22:17 +0000
commit0dd15d43a78d85c6460f2373a60b30a5d71bbe1c (patch)
tree42e4fb8e217ee62a5a377cd45d2614a04e3d0b8d /gcc/ggc-zone.c
parentab1a10aed9bfa323d3aa1d47cfd892130a2d90cd (diff)
downloadgcc-0dd15d43a78d85c6460f2373a60b30a5d71bbe1c.tar.gz
Fix building ggc-zone.c
* ggc-zone.c (ggc_internal_alloc_zone_stat): Rename ggc_alloced_size_order_for_request into ggc_round_alloc_size like it was done in ggc-page.c. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180258 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-zone.c')
-rw-r--r--gcc/ggc-zone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ggc-zone.c b/gcc/ggc-zone.c
index 79c8c032966..5257ada28fa 100644
--- a/gcc/ggc-zone.c
+++ b/gcc/ggc-zone.c
@@ -1102,7 +1102,7 @@ ggc_internal_alloc_zone_stat (size_t orig_size, struct alloc_zone *zone
struct small_page_entry *entry;
struct alloc_chunk *chunk, **pp;
void *result;
- size_t size = ggc_alloced_size_for_request (orig_size);
+ size_t size = ggc_round_alloc_size (orig_size);
/* Try to allocate the object from several different sources. Each
of these cases is responsible for setting RESULT and SIZE to