diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-04 11:30:46 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-04 11:30:46 +0000 |
commit | 3cfec666406d71f8b7d7abcf9883c64117453c15 (patch) | |
tree | e46147f472cc001827083ec7631a1140948ce7c6 /gcc/ggc.h | |
parent | a2dd943a80f4e3091f7f992594f6e3e01ce522fb (diff) | |
download | gcc-3cfec666406d71f8b7d7abcf9883c64117453c15.tar.gz |
* gbl-ctors.h: Fix formatting.
* gcc.c: Likewise.
* gccspec.c: Likewise.
* gcov.c: Likewise.
* gcov-io.h: Likewise.
* gcse.c: Likewise.
* ggc-common.c: Likewise.
* ggc.h: Likewise.
* ggc-page.c: Likewise.
* ggc-simple.c: Likewise.
* global.c: Likewise.
* graph.h: Likewise.
* gthr-dce.h: Likewise.
* gthr.h: Likewise.
* gthr-posix.h: Likewise.
* gthr-rtems.h: Likewise.
* gthr-solaris.h: Likewise.
* gthr-win32.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54240 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc.h')
-rw-r--r-- | gcc/ggc.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ggc.h b/gcc/ggc.h index 87a38549f4b..b28e11a88e6 100644 --- a/gcc/ggc.h +++ b/gcc/ggc.h @@ -33,7 +33,7 @@ extern const char digit_vector[]; /* "0" .. "9" */ extern void ggc_add_root PARAMS ((void *base, int nelt, int size, void (*)(void *))); -/* Structures for the easy way to mark roots. +/* Structures for the easy way to mark roots. In an array, terminated by having base == NULL.*/ struct ggc_root_tab { void *base; @@ -142,7 +142,7 @@ extern void ggc_collect PARAMS ((void)); pointers in this data structure should not be traversed. */ extern int ggc_set_mark PARAMS ((const void *)); -/* Return 1 if P has been marked, zero otherwise. +/* Return 1 if P has been marked, zero otherwise. P must have been allocated by the GC allocator; it mustn't point to static objects, stack variables, or memory allocated with malloc. */ extern int ggc_marked_p PARAMS ((const void *)); @@ -151,16 +151,16 @@ extern int ggc_marked_p PARAMS ((const void *)); /* This structure contains the statistics common to all collectors. Particular collectors can extend this structure. */ -typedef struct ggc_statistics +typedef struct ggc_statistics { /* The Ith element is the number of nodes allocated with code I. */ unsigned num_trees[256]; - /* The Ith element is the number of bytes allocated by nodes with + /* The Ith element is the number of bytes allocated by nodes with code I. */ size_t size_trees[256]; /* The Ith element is the number of nodes allocated with code I. */ unsigned num_rtxs[256]; - /* The Ith element is the number of bytes allocated by nodes with + /* The Ith element is the number of bytes allocated by nodes with code I. */ size_t size_rtxs[256]; /* The total size of the tree nodes allocated. */ |