Commit 24685ae9 by Dodji Seketeli Committed by Dodji Seketeli

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
parent 455c36ea
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
2011-10-20 Dodji Seketeli <dodji@redhat.com> 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 PR other/50659
* doc/cppopts.texi: Use @smallexample/@end smallexample in * doc/cppopts.texi: Use @smallexample/@end smallexample in
documentation for -fdebug-cpp instead of @quotation/@end quotation documentation for -fdebug-cpp instead of @quotation/@end quotation
...@@ -1102,7 +1102,7 @@ ggc_internal_alloc_zone_stat (size_t orig_size, struct alloc_zone *zone ...@@ -1102,7 +1102,7 @@ ggc_internal_alloc_zone_stat (size_t orig_size, struct alloc_zone *zone
struct small_page_entry *entry; struct small_page_entry *entry;
struct alloc_chunk *chunk, **pp; struct alloc_chunk *chunk, **pp;
void *result; 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 /* Try to allocate the object from several different sources. Each
of these cases is responsible for setting RESULT and SIZE to of these cases is responsible for setting RESULT and SIZE to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment