(get_class_reference): Call add_class_reference for
authorTom Wood <wood@gnu.org>
Wed, 14 Apr 1993 16:08:43 +0000 (16:08 +0000)
committerTom Wood <wood@gnu.org>
Wed, 14 Apr 1993 16:08:43 +0000 (16:08 +0000)
        the GNU runtimes.

From-SVN: r4151

gcc/objc/objc-act.c

index eb2e98cb37fb33ccaf290ca3f7906f61371efc06..74a07c0a96aa7d08396ee5218b9c3b3e81571ee2 100644 (file)
@@ -1855,6 +1855,8 @@ get_class_reference (ident)
     {
       tree params;
 
+      add_class_reference (CLASS_NAME (ident));
+
       params = build_tree_list (NULLT,
                                my_build_string (IDENTIFIER_LENGTH (ident) + 1,
                                                 IDENTIFIER_POINTER (ident)));