From: Gabriel Dos Reis Date: Tue, 30 Jul 2002 07:49:40 +0000 (+0000) Subject: * cp-tree.h (VF_DERIVED_VALUE): Restore from previous deletion. X-Git-Tag: releases/gcc-3.3.0~3559 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8a4a72424f896e2eece646b980dcf4c38c420d24;p=thirdparty%2Fgcc.git * cp-tree.h (VF_DERIVED_VALUE): Restore from previous deletion. From-SVN: r55871 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1e52dbac8133..ca6273157d3b 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2002-07-30 Gabriel Dos Reis + + * cp-tree.h (VF_DERIVED_VALUE): Restore from previous deletion. + 2002-07-30 Nathan Sidwell * cp-tree.h (CLASSTYPE_VFIELDS, VF_*, BV_*): Add more diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index ce46b03560e7..b4db7be6a58d 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -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