]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/cp/repo.c
Make DECL_CONTEXT mean the class in which a member function was declared, even for...
[gcc.git] / gcc / cp / repo.c
index 7812823d19ae4b8a4f9259714ff0512ee97e4ae7..b02af8a3bfe263fd162e4edd07106a3ac68059a9 100644 (file)
@@ -171,9 +171,9 @@ repo_inline_used (fn)
 
   /* Member functions of polymorphic classes go with their vtables.  */
   if (DECL_FUNCTION_MEMBER_P (fn) 
-      && TYPE_POLYMORPHIC_P (DECL_CLASS_CONTEXT (fn)))
+      && TYPE_POLYMORPHIC_P (DECL_CONTEXT (fn)))
     {
-      repo_vtable_used (DECL_CLASS_CONTEXT (fn));
+      repo_vtable_used (DECL_CONTEXT (fn));
       return;
     }
 
This page took 0.024159 seconds and 5 git commands to generate.