Use type_instance_flags more throughout
[deliverable/binutils-gdb.git] / gdb / stabsread.c
index 2f9458ce186490a42458ce1e2187e3ffde04e1ca..02fc8ccfd2b41342dcc9d23ec9840a884dec395a 100644 (file)
@@ -4398,7 +4398,7 @@ cleanup_undefined_types_noname (struct objfile *objfile)
              and needs to be copied over from the reference type.
              Since replace_type expects them to be identical, we need
              to set these flags manually before hand.  */
-          TYPE_INSTANCE_FLAGS (nat.type) = TYPE_INSTANCE_FLAGS (*type);
+          nat.type->set_instance_flags ((*type)->instance_flags ());
           replace_type (nat.type, *type);
         }
     }
This page took 0.023819 seconds and 4 git commands to generate.