(symbian_possibly_export_base_class): Replace use of deleted...
authorNick Clifton <nickc@redhat.com>
Fri, 8 Oct 2004 09:46:23 +0000 (09:46 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Fri, 8 Oct 2004 09:46:23 +0000 (09:46 +0000)
(symbian_possibly_export_base_class): Replace use of deleted
TYPE_USES_VIRTUAL_BASECLASSES macro with TYPE_CONTAINS_VPTR_P.

From-SVN: r88739

gcc/ChangeLog
gcc/config/sh/symbian.c

index 2906982..861afb6 100644 (file)
@@ -1,3 +1,9 @@
+2004-10-08  Nick Clifton  <nickc@redhat.com>
+
+       * config/sh/symbian.c (symbian_possibly_export_base_class):
+       Replace use of deleted TYPE_USES_VIRTUAL_BASECLASSES macro with
+       TYPE_CONTAINS_VPTR_P.
+
 2004-10-08  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
 
        * config/m32r/m32r.h (CONDITIONAL_REGISTER_USAGE): Don't exclude
index e4b0d2b..02b95f5 100644 (file)
@@ -559,8 +559,7 @@ symbian_possibly_export_base_class (tree base_class)
   tree methods;
   int len;
 
-  if (! (TYPE_POLYMORPHIC_P (base_class)
-        || TYPE_USES_VIRTUAL_BASECLASSES (base_class)))
+  if (! (TYPE_CONTAINS_VPTR_P (base_class)))
     return;
 
   methods = CLASSTYPE_METHOD_VEC (base_class);