aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc-zone.c
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@redhat.com>2011-10-20 15:22:17 +0000
committerDodji Seketeli <dodji@gcc.gnu.org>2011-10-20 17:22:17 +0200
commit24685ae9c5884ce29dacd06ed3673ae57ed3b4df (patch)
tree42e4fb8e217ee62a5a377cd45d2614a04e3d0b8d /gcc/ggc-zone.c
parent455c36ea0ac8834f9f3e7b62db777d556df68d90 (diff)
downloadgcc-24685ae9c5884ce29dacd06ed3673ae57ed3b4df.zip
gcc-24685ae9c5884ce29dacd06ed3673ae57ed3b4df.tar.gz
gcc-24685ae9c5884ce29dacd06ed3673ae57ed3b4df.tar.bz2
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. From-SVN: r180258
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 79c8c03..5257ada 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