diff options
author | Matt Austern <austern@apple.com> | 2003-03-20 21:14:30 +0000 |
---|---|---|
committer | Matt Austern <austern@gcc.gnu.org> | 2003-03-20 21:14:30 +0000 |
commit | a260bce67642765094ec0bbfa3687876c7a2f51c (patch) | |
tree | 4beefd450f4f5c3baa474b410f8a4e40a2189ca2 /gcc/cp/cp-tree.h | |
parent | d0940a55f800ad463e270ab8c86dfc53600a49a6 (diff) | |
download | gcc-a260bce67642765094ec0bbfa3687876c7a2f51c.zip gcc-a260bce67642765094ec0bbfa3687876c7a2f51c.tar.gz gcc-a260bce67642765094ec0bbfa3687876c7a2f51c.tar.bz2 |
cp-tree.h (unemitted_tinfo_decls): Declaration of a new varray.
* cp-tree.h (unemitted_tinfo_decls): Declaration of a new varray.
(unemitted_tinfo_decl_p): Remove.
(emit_tinfo_decl): Change declaration to remove unused parameter.
* decl2.c (finish_file): Change tinfo emission to loop through
unemitted_tinfo_decls array instead of looping through all decls.
* rtti.c (unemitted_tinfo_decl_p): Declare as static, remove
unused second parameter.
(init_rtti_processing): initialize unemitted_tinfo_decls varray.
(get_tinfo_decls): push new tinfo decl on unemitted_tinfo_decls.
(emit_tinfo_decl): remove unused second parameter, add assertion
that decl hasn't already been emitted.
From-SVN: r64621
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r-- | gcc/cp/cp-tree.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index f8ded19..2a207a1 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -4062,14 +4062,16 @@ extern void init_repo (const char *); extern void finish_repo (void); /* in rtti.c */ +/* A varray of all tinfo decls that haven't been emitted yet. */ +extern GTY(()) varray_type unemitted_tinfo_decls; + extern void init_rtti_processing (void); extern tree build_typeid (tree); extern tree get_tinfo_decl (tree); extern tree get_typeid (tree); extern tree build_dynamic_cast (tree, tree); extern void emit_support_tinfos (void); -extern bool unemitted_tinfo_decl_p (tree, void *); -extern bool emit_tinfo_decl (tree *, void *); +extern bool emit_tinfo_decl (tree); /* in search.c */ extern tree lookup_base (tree, tree, base_access, base_kind *); |