From ae373eda2fc639df6dc12ae1bb111f5a9f0f151f Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Sun, 23 Jan 2000 19:18:45 +0000 Subject: [PATCH] ggc-page.c (struct page_entry): Make `context_depth' an `unsigned short'. * ggc-page.c (struct page_entry): Make `context_depth' an `unsigned short'. From-SVN: r31572 --- gcc/ChangeLog | 5 +++++ gcc/ggc-page.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1048b56482c..57ae72a5858 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 f05d93af02f..bf280761a86 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.30.2