aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2002-06-04 11:30:46 +0000
committerKazu Hirata <kazu@cs.umass.edu>2002-06-04 11:30:46 +0000
commitbf5d1a49aa0271cab7c43bbf4d9d90de59f8375e (patch)
treee46147f472cc001827083ec7631a1140948ce7c6 /gcc/ggc.h
parentbda5d9937fdccc6efd9bf47f3c5b76ab7f14f005 (diff)
* 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: https://gcc.gnu.org/svn/gcc/trunk@54240 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc.h')
-rw-r--r--gcc/ggc.h10
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. */