cp-tree.h (lang_type_class): Remove redefined.
authorKazu Hirata <kazu@cs.umass.edu>
Fri, 15 Apr 2005 15:00:58 +0000 (15:00 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 15 Apr 2005 15:00:58 +0000 (15:00 +0000)
* cp-tree.h (lang_type_class): Remove redefined.  Move
java_interface into where redefined was.  Increment the width
of dummy.
(TYPE_REDEFINED): Remove.

From-SVN: r98184

gcc/cp/ChangeLog
gcc/cp/cp-tree.h

index b12b7916377c5727163ff483cd8f385aec3da721..ee213cb08cd3e220461c6bc0618b1a0ca20805c2 100644 (file)
@@ -1,3 +1,10 @@
+2005-04-15  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cp-tree.h (lang_type_class): Remove redefined.  Move
+       java_interface into where redefined was.  Increment the width
+       of dummy.
+       (TYPE_REDEFINED): Remove.
+
 2005-04-14  Kazu Hirata  <kazu@cs.umass.edu>
 
        * cp-tree.h (SET_TMPL_ARG, ENUM_TI_TEMPLATE, ENUM_TI_ARGS,
index e1e15a8739c99166be1dd6769d8c1bf31fd1282a..584698bc5dbae4bb93a04389b0d33f02526b6a2f 100644 (file)
@@ -1027,7 +1027,7 @@ struct lang_type_class GTY(())
   unsigned diamond_shaped : 1;
   unsigned repeated_base : 1;
   unsigned being_defined : 1;
-  unsigned redefined : 1;
+  unsigned java_interface : 1;
   unsigned debug_requested : 1;
   unsigned fields_readonly : 1;
   
@@ -1043,7 +1043,6 @@ struct lang_type_class GTY(())
   unsigned has_complex_init_ref : 1;
   unsigned has_complex_assign_ref : 1;
   unsigned non_aggregate : 1;
-  unsigned java_interface : 1;
 
   /* When adding a flag here, consider whether or not it ought to
      apply to a template instance if it applies to the template.  If
@@ -1052,7 +1051,7 @@ struct lang_type_class GTY(())
   /* There are some bits left to fill out a 32-bit word.  Keep track
      of this by updating the size of this bitfield whenever you add or
      remove a flag.  */
-  unsigned dummy : 11;
+  unsigned dummy : 12;
 
   tree primary_base;
   VEC (tree_pair_s) *vcall_indices;
@@ -1186,9 +1185,6 @@ struct lang_type GTY(())
 /* Nonzero means that this type is being defined.  I.e., the left brace
    starting the definition of this type has been seen.  */
 #define TYPE_BEING_DEFINED(NODE) (LANG_TYPE_CLASS_CHECK (NODE)->being_defined)
-/* Nonzero means that this type has been redefined.  In this case, if
-   convenient, don't reprocess any methods that appear in its redefinition.  */
-#define TYPE_REDEFINED(NODE) (LANG_TYPE_CLASS_CHECK (NODE)->redefined)
 
 /* Mark bits for repeated base checks.  */
 #define TYPE_MARKED_P(NODE) TREE_LANG_FLAG_6 (TYPE_CHECK (NODE))