]> gcc.gnu.org Git - gcc.git/commit
objc-act.c (get_proto_encoding, [...]): New fucnctions.
authorKresten Krab Thorup <krab@gcc.gnu.org>
Thu, 30 Jun 1994 16:17:36 +0000 (16:17 +0000)
committerKresten Krab Thorup <krab@gcc.gnu.org>
Thu, 30 Jun 1994 16:17:36 +0000 (16:17 +0000)
commit5d0f30f711ced9cdc1ab5bc2239311a4c35e4d0b
tree8b96de5d2386b53b8393e2dac76603c23c5cfd4a
parentbd4d60ce718459dae37f66627fb57035f2839fe0
objc-act.c (get_proto_encoding, [...]): New fucnctions.

        * objc-act.c (get_proto_encoding, build_typed_selector_reference):
        New fucnctions. (UTAG_PROTOCOL): New define.
        (objc_selector_template, flag_typed_selectors): New variables.
        (objc_init): set flag_typed_selectors if -fgnu-runtime.
        (synth_module_prologue): Change declaration of
        _OBJC_SELECTOR_TABLE when flag_typed_selectors is non-null.
        (build_module_descriptor): Make sure the generated constructor
        function is declared public.
        (build_selector): Only cast to SEL when not doing typed selectors.
        (build_selector_translation_table): Rewrite initialization.
        (build_tmp_function_decl): Make up new name when called, since it
        may now be called multiple times.
        (hack_method_prototype): Use init_function_start to reinit args
        machinery.  Also set current_function_decl before calling
        assign_parms.
        (generate_protocols):  Don't generate encoding twice.
        (build_selector_template): New function.
        (build_method_list_template): Generate (void*)0 as first element,
        not (int)0.
        (build_message_expr): move the call to build_selector_reference
        towards the end, where we have determined the function prototype.

From-SVN: r7620
gcc/objc/objc-act.c
This page took 0.059188 seconds and 5 git commands to generate.