diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-10-11 02:11:21 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-10-11 02:11:21 +0000 |
commit | 74c937ca61c1872ce7ff653c2d7fda6d4b38db30 (patch) | |
tree | 5036f98758c484314588bc1a1893a4651f5f4190 /gcc/ggc-common.c | |
parent | f9562f27ffae26afb22f320d27eca41f36de95a2 (diff) | |
download | gcc-74c937ca61c1872ce7ff653c2d7fda6d4b38db30.zip gcc-74c937ca61c1872ce7ff653c2d7fda6d4b38db30.tar.gz gcc-74c937ca61c1872ce7ff653c2d7fda6d4b38db30.tar.bz2 |
ggc.h (ggc_push_context): Fix comment.
* ggc.h (ggc_push_context): Fix comment.
(ggc_pop_context): Likewise.
(mark_string_if_gcable): Likewise.
* ggc-common.c (ggc_mark_rtx_children): Use
ggc_mark_string_if_gcable.
* ggc-page.c (ggc_lookup_page_table): New function.
(ggc_allocated_p): Likewise.
(mark_obj): Fix formatting.
(ggc_mark_string_if_gcable): New function.
* ggc-simple.c (ggc_allocated_strings): New variable.
(ggc_strings_used): Likewise.
(ggc_compare_addresses): New function.
(ggc_pop_context): Pop the `any' memory too.
(ggc_mark_string_if_gcable): New function.
(ggc_collect): Initialize and tear down ggc_allocated_strings.
From-SVN: r29897
Diffstat (limited to 'gcc/ggc-common.c')
-rw-r--r-- | gcc/ggc-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c index 5acde49..6df622e 100644 --- a/gcc/ggc-common.c +++ b/gcc/ggc-common.c @@ -268,7 +268,7 @@ ggc_mark_rtx_children (r) ggc_mark_rtvec (XVEC (r, i)); break; case 'S': case 's': - ggc_mark_string (XSTR (r, i)); + ggc_mark_string_if_gcable (XSTR (r, i)); break; } } |