From 938cf57127f695a543075cfd81793a804f981f10 Mon Sep 17 00:00:00 2001 From: mmitchel Date: Sun, 23 Jan 2000 19:18:45 +0000 Subject: [PATCH] * ggc-page.c (struct page_entry): Make `context_depth' an `unsigned short'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31572 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/ggc-page.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1048b56..57ae72a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-01-23 Mark Mitchell + + * ggc-page.c (struct page_entry): Make `context_depth' an + `unsigned short'. + 2000-01-23 Clinton Popetz * loop.c (check_dbra_loop): When checking a loop for diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c index f05d93a..bf28076 100644 --- a/gcc/ggc-page.c +++ b/gcc/ggc-page.c @@ -157,10 +157,7 @@ typedef struct page_entry unsigned long *save_in_use_p; /* Context depth of this page. */ - unsigned char context_depth; - - /* The lg of size of objects allocated from this page. */ - unsigned char order; + unsigned short context_depth; /* The number of free objects remaining on this page. */ unsigned short num_free_objects; @@ -169,6 +166,9 @@ typedef struct page_entry next allocation from this page. */ unsigned short next_bit_hint; + /* The lg of size of objects allocated from this page. */ + unsigned char order; + /* A bit vector indicating whether or not objects are in use. The Nth bit is one if the Nth object on this page is allocated. This array is dynamically sized. */ -- 2.7.4