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
This commit is contained in:
Dodji Seketeli 2011-10-20 15:22:17 +00:00 committed by Dodji Seketeli
parent 455c36ea0a
commit 24685ae9c5
2 changed files with 5 additions and 1 deletions

View File

@ -10,6 +10,10 @@
2011-10-20 Dodji Seketeli <dodji@redhat.com>
* 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.
PR other/50659
* doc/cppopts.texi: Use @smallexample/@end smallexample in
documentation for -fdebug-cpp instead of @quotation/@end quotation

View File

@ -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