diff options
author | Geoffrey Keating <geoffk@redhat.com> | 2002-06-04 07:11:05 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2002-06-04 07:11:05 +0000 |
commit | e2500fedef1a1c5b9e818fd1e2c281adff80df4a (patch) | |
tree | 720630adca0f6b357e05c4feb8cbe33d556925ce /gcc/objc/objc-act.h | |
parent | c2ae66169b8326bbf9b1dfa63083d2560fea7ddf (diff) | |
download | gcc-e2500fedef1a1c5b9e818fd1e2c281adff80df4a.zip gcc-e2500fedef1a1c5b9e818fd1e2c281adff80df4a.tar.gz gcc-e2500fedef1a1c5b9e818fd1e2c281adff80df4a.tar.bz2 |
Merge from pch-branch up to tag pch-commit-20020603.
From-SVN: r54232
Diffstat (limited to 'gcc/objc/objc-act.h')
-rw-r--r-- | gcc/objc/objc-act.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/gcc/objc/objc-act.h b/gcc/objc/objc-act.h index b4917f7..17e5bd5 100644 --- a/gcc/objc/objc-act.h +++ b/gcc/objc/objc-act.h @@ -133,28 +133,26 @@ enum objc_tree_code { typedef struct hashed_entry *hash; typedef struct hashed_attribute *attr; -struct hashed_attribute +struct hashed_attribute GTY(()) { attr next; tree value; }; -struct hashed_entry +struct hashed_entry GTY(()) { attr list; hash next; tree key; }; -extern hash *nst_method_hash_list; -extern hash *cls_method_hash_list; +extern GTY ((length ("SIZEHASHTABLE"))) hash *nst_method_hash_list; +extern GTY ((length ("SIZEHASHTABLE"))) hash *cls_method_hash_list; -#define HASH_ALLOC_LIST_SIZE 170 -#define ATTR_ALLOC_LIST_SIZE 170 #define SIZEHASHTABLE 257 /* Objective-C/Objective-C++ @implementation list. */ -struct imp_entry +struct imp_entry GTY(()) { struct imp_entry *next; tree imp_context; @@ -163,7 +161,7 @@ struct imp_entry tree meta_decl; /* _OBJC_METACLASS_<my_name>; */ }; -extern struct imp_entry *imp_list; +extern GTY(()) struct imp_entry *imp_list; extern int imp_count; /* `@implementation' */ extern int cat_count; /* `@category' */ @@ -248,7 +246,7 @@ enum objc_tree_index OCTI_MAX }; -extern tree objc_global_trees[OCTI_MAX]; +extern GTY(()) tree objc_global_trees[OCTI_MAX]; /* List of classes with list of their static instances. */ #define objc_static_instances objc_global_trees[OCTI_STATIC_NST] |