* cp-tree.h (VF_DERIVED_VALUE): Restore from previous deletion.
authorGabriel Dos Reis <gdr@nerim.net>
Tue, 30 Jul 2002 07:49:40 +0000 (07:49 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Tue, 30 Jul 2002 07:49:40 +0000 (07:49 +0000)
From-SVN: r55871

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

index 1e52dbac81332fcae4ffdd88175926607d89c521..ca6273157d3b8713e9c07fc4aa0a6fdd04fcec77 100644 (file)
@@ -1,3 +1,7 @@
+2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
+
+       * cp-tree.h (VF_DERIVED_VALUE): Restore from previous deletion.
+
 2002-07-30  Nathan Sidwell  <nathan@codesourcery.com>
 
        * cp-tree.h (CLASSTYPE_VFIELDS, VF_*, BV_*): Add more
index ce46b03560e778add1e753e9c635da255e0ee7d3..b4db7be6a58de479e6ee4f1e7687e5dabe9ad0a7 100644 (file)
@@ -1753,6 +1753,8 @@ struct lang_type GTY(())
 #define VF_BASETYPE_VALUE(NODE) TREE_VALUE (NODE)
 
 /* Accessor macros for the BINFO_VIRTUALS list. */
+#define VF_DERIVED_VALUE(NODE) \
+   (VF_BINFO_VALUE (NODE) ? BINFO_TYPE (VF_BINFO_VALUE (NODE)) : NULL_TREE)
 
 /* The number of bytes by which to adjust the `this' pointer when
    calling this virtual function.  Subtract this value from the this