This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] cp-tree.h: Remove VF_BINFO_VALUE and VF_BASETYPE_VALUE.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: mark at codesourcery dot com
- Date: Sat, 09 Apr 2005 11:39:01 -0400 (EDT)
- Subject: [patch] cp-tree.h: Remove VF_BINFO_VALUE and VF_BASETYPE_VALUE.
Hi,
Attached is a patch to remove VF_BINFO_VALUE and VF_BASETYPE_VALUE as
their last uses were removed by
http://gcc.gnu.org/ml/gcc-cvs/2004-07/msg01026.html
Tested on i686-pc-linux-gnu. OK to apply?
Kazu Hirata
2005-04-08 Kazu Hirata <kazu@cs.umass.edu>
* pt.c (UNIFY_ALLOW_MAX_CORRECTION): Remove.
Index: cp-tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/cp-tree.h,v
retrieving revision 1.1117
diff -u -d -p -r1.1117 cp-tree.h
--- cp-tree.h 8 Apr 2005 19:39:45 -0000 1.1117
+++ cp-tree.h 8 Apr 2005 20:01:55 -0000
@@ -1454,17 +1454,6 @@ struct lang_type GTY(())
#define CLASSTYPE_TYPEINFO_VAR(NODE) \
(LANG_TYPE_CLASS_CHECK (NODE)->typeinfo_var)
-/* Accessor macros for the vfield slots in structures. */
-
-/* Get the BINFO that introduced this vtable into the hierarchy (will
- be NULL for those created at this level, or from a primary
- hierarchy). */
-#define VF_BINFO_VALUE(NODE) TREE_PURPOSE (NODE)
-
-/* Get the TYPE that introduced this vtable into the hierarchy (always
- non-NULL). */
-#define VF_BASETYPE_VALUE(NODE) TREE_VALUE (NODE)
-
/* Accessor macros for the BINFO_VIRTUALS list. */
/* The number of bytes by which to adjust the `this' pointer when