diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | 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 <mark@codesourcery.com> + + * ggc-page.c (struct page_entry): Make `context_depth' an + `unsigned short'. + 2000-01-23 Clinton Popetz <cpopetz@cygnus.com> * 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. */ |
