]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix building ggc-zone.c
authorDodji Seketeli <dodji@redhat.com>
Thu, 20 Oct 2011 15:22:17 +0000 (15:22 +0000)
committerDodji Seketeli <dodji@gcc.gnu.org>
Thu, 20 Oct 2011 15:22:17 +0000 (17:22 +0200)
* 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

gcc/ChangeLog
gcc/ggc-zone.c

index eeed56d67e3fbca78964d001f595f548092ac363..83da507e0ba6007172107dc2f5dd0747452e21ff 100644 (file)
 
 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
index 79c8c03296674df0b9937143c4400bd16a1a9b79..5257ada28fa24d8d8d26978998398d4f724e40fd 100644 (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