aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2000-01-23 19:18:45 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-01-23 19:18:45 +0000
commitae373eda2fc639df6dc12ae1bb111f5a9f0f151f (patch)
tree1d494b63a9c63dd3481984ac7f0b01d2f704489d
parent92ac3c0f75568730d288401b4a78bf8d44e6330b (diff)
downloadgcc-ae373eda2fc639df6dc12ae1bb111f5a9f0f151f.zip
gcc-ae373eda2fc639df6dc12ae1bb111f5a9f0f151f.tar.gz
gcc-ae373eda2fc639df6dc12ae1bb111f5a9f0f151f.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ggc-page.c8
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. */