OSDN Git Service

* cp-tree.h (VPTR_NAME, VPTR_NAME_P): Remove.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Apr 2005 15:02:51 +0000 (15:02 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Apr 2005 15:02:51 +0000 (15:02 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98319 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 7faf22c..b053298 100644 (file)
@@ -3,6 +3,8 @@
        * decl.c (expand_static_init): Call build2 and build3 instead
        of build.
 
+       * cp-tree.h (VPTR_NAME, VPTR_NAME_P): Remove.
+
 2005-04-17  Ian Lance Taylor  <ian@airs.com>
 
        * cp-tree.def: Add SIZEOF_EXPR, ARROW_EXPR and ALIGNOF_EXPR.
index dd6523f..3765a4b 100644 (file)
@@ -3141,7 +3141,6 @@ extern GTY(()) varray_type local_classes;
 
 #define JOINER '$'
 
-#define VPTR_NAME "$v"
 #define THROW_NAME "$eh_throw"
 #define AUTO_VTABLE_NAME "__vtbl$me__"
 #define AUTO_TEMP_NAME "_$tmp_"
@@ -3160,7 +3159,6 @@ extern GTY(()) varray_type local_classes;
 
 #define JOINER '.'
 
-#define VPTR_NAME ".v"
 #define THROW_NAME ".eh_throw"
 #define AUTO_VTABLE_NAME "__vtbl.me__"
 #define AUTO_TEMP_NAME "_.tmp_"
@@ -3176,9 +3174,6 @@ extern GTY(()) varray_type local_classes;
 
 #else /* NO_DOT_IN_LABEL */
 
-#define VPTR_NAME "__vptr"
-#define VPTR_NAME_P(ID_NODE) \
-  (!strncmp (IDENTIFIER_POINTER (ID_NODE), VPTR_NAME, sizeof (VPTR_NAME) - 1))
 #define THROW_NAME "__eh_throw"
 #define IN_CHARGE_NAME "__in_chrg"
 #define AUTO_VTABLE_NAME "__vtbl_me__"
@@ -3220,9 +3215,6 @@ extern GTY(()) varray_type local_classes;
 
 #if !defined(NO_DOLLAR_IN_LABEL) || !defined(NO_DOT_IN_LABEL)
 
-#define VPTR_NAME_P(ID_NODE) (IDENTIFIER_POINTER (ID_NODE)[0] == JOINER \
-                             && IDENTIFIER_POINTER (ID_NODE)[1] == 'v')
-
 #define VTABLE_NAME_P(ID_NODE) (IDENTIFIER_POINTER (ID_NODE)[1] == 'v' \
   && IDENTIFIER_POINTER (ID_NODE)[2] == 't' \
   && IDENTIFIER_POINTER (ID_NODE)[3] == JOINER)