objc-act.c (STRING_OBJECT_CLASS_NAME): Default to NSConstantString for NeXT-style...
authorStan Shebs <shebs@apple.com>
Wed, 2 May 2001 21:51:54 +0000 (21:51 +0000)
committerStan Shebs <shebs@gcc.gnu.org>
Wed, 2 May 2001 21:51:54 +0000 (21:51 +0000)
commitfa3405045b98c6d0537605f08a8642f7e46840c3
tree9aee520c00a22ccb73b7a416682acfa048a92540
parentde26cf808faf3bb1518d2756df69e299258febca
objc-act.c (STRING_OBJECT_CLASS_NAME): Default to NSConstantString for NeXT-style runtimes.

        * objc/objc-act.c (STRING_OBJECT_CLASS_NAME): Default to
        NSConstantString for NeXT-style runtimes.
        (STRING_OBJECT_GLOBAL_NAME): New macro.
        (enum objc_tree_index): Add values OCTI_CNST_STR_GLOB_ID and
        OCTI_STRING_CLASS_DECL.
        (constant_string_global_id): New macro.
        (string_class_decl): Ditto.
        (setup_string_decl): New function.
        (build_objc_string_object): Use it to build a NeXT runtime
        compatible string initializer.

From-SVN: r41776
gcc/ChangeLog
gcc/objc/objc-act.c