Commit ae373eda by Mark Mitchell Committed by Mark Mitchell

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
parent 92ac3c0f
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> 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
* loop.c (check_dbra_loop): When checking a loop for * loop.c (check_dbra_loop): When checking a loop for
......
...@@ -157,10 +157,7 @@ typedef struct page_entry ...@@ -157,10 +157,7 @@ typedef struct page_entry
unsigned long *save_in_use_p; unsigned long *save_in_use_p;
/* Context depth of this page. */ /* Context depth of this page. */
unsigned char context_depth; unsigned short context_depth;
/* The lg of size of objects allocated from this page. */
unsigned char order;
/* The number of free objects remaining on this page. */ /* The number of free objects remaining on this page. */
unsigned short num_free_objects; unsigned short num_free_objects;
...@@ -169,6 +166,9 @@ typedef struct page_entry ...@@ -169,6 +166,9 @@ typedef struct page_entry
next allocation from this page. */ next allocation from this page. */
unsigned short next_bit_hint; 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 /* 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 Nth bit is one if the Nth object on this page is allocated. This
array is dynamically sized. */ array is dynamically sized. */
......
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