diff options
author | wood <wood@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-04-12 23:51:07 +0000 |
---|---|---|
committer | wood <wood@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-04-12 23:51:07 +0000 |
commit | d056404f82d68f75e59d0656507e703a43081088 (patch) | |
tree | 5a553250d41d49426766d527effbd6ab6ac3489d /gcc/objc/objc-act.h | |
parent | 7fdd7d431ab1b789c092bb23e9ab27c093aa5429 (diff) | |
download | gcc-d056404f82d68f75e59d0656507e703a43081088.tar.gz |
(CLASS_PROTOCOL_LIST, PROTOCOL_LIST,
PROTOCOL_FORWARD_DECL, TYPE_PROTOCOL_LIST): Rearrange use of type
members to avoid use of noncopied_parts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4108 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc/objc-act.h')
-rw-r--r-- | gcc/objc/objc-act.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/objc/objc-act.h b/gcc/objc/objc-act.h index 874c0a1e1ba..e6765d9168d 100644 --- a/gcc/objc/objc-act.h +++ b/gcc/objc/objc-act.h @@ -93,13 +93,13 @@ tree build_encode_expr PROTO((tree)); #define CLASS_CLS_METHODS(CLASS) ((CLASS)->type.maxval) #define CLASS_STATIC_TEMPLATE(CLASS) TREE_VEC_ELT (TYPE_BINFO (CLASS), 2) #define CLASS_CATEGORY_LIST(CLASS) TREE_VEC_ELT (TYPE_BINFO (CLASS), 3) -#define CLASS_PROTOCOL_LIST(CLASS) ((CLASS)->type.noncopied_parts) +#define CLASS_PROTOCOL_LIST(CLASS) TREE_VEC_ELT (TYPE_BINFO (CLASS), 4) #define PROTOCOL_NAME(CLASS) ((CLASS)->type.name) -#define PROTOCOL_LIST(CLASS) ((CLASS)->type.binfo) +#define PROTOCOL_LIST(CLASS) TREE_VEC_ELT (TYPE_BINFO (CLASS), 0) #define PROTOCOL_NST_METHODS(CLASS) ((CLASS)->type.minval) #define PROTOCOL_CLS_METHODS(CLASS) ((CLASS)->type.maxval) -#define PROTOCOL_FORWARD_DECL(CLASS) ((CLASS)->type.context) -#define TYPE_PROTOCOL_LIST(TYPE) ((TYPE)->type.noncopied_parts) +#define PROTOCOL_FORWARD_DECL(CLASS) TREE_VEC_ELT (TYPE_BINFO (CLASS), 1) +#define TYPE_PROTOCOL_LIST(TYPE) ((TYPE)->type.context) /* Define the Objective-C or Objective-C++ language-specific tree codes. */ |