aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc/archive.c
diff options
context:
space:
mode:
authorKresten Krab Thorup <krab@gcc.gnu.org>1994-06-30 16:17:36 +0000
committerKresten Krab Thorup <krab@gcc.gnu.org>1994-06-30 16:17:36 +0000
commit5d0f30f711ced9cdc1ab5bc2239311a4c35e4d0b (patch)
tree8b96de5d2386b53b8393e2dac76603c23c5cfd4a /gcc/objc/archive.c
parentbd4d60ce718459dae37f66627fb57035f2839fe0 (diff)
downloadgcc-5d0f30f711ced9cdc1ab5bc2239311a4c35e4d0b.zip
gcc-5d0f30f711ced9cdc1ab5bc2239311a4c35e4d0b.tar.gz
gcc-5d0f30f711ced9cdc1ab5bc2239311a4c35e4d0b.tar.bz2
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
Diffstat (limited to 'gcc/objc/archive.c')
0 files changed, 0 insertions, 0 deletions