aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sh/symbian.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/sh/symbian.c')
-rw-r--r--gcc/config/sh/symbian.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/sh/symbian.c b/gcc/config/sh/symbian.c
index e4b0d2bc225..02b95f5970d 100644
--- a/gcc/config/sh/symbian.c
+++ b/gcc/config/sh/symbian.c
@@ -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);