objc-act.c (generate_method_descriptors): Register objc_method_prototype_template...
authorZack Weinberg <zack@wolery.cumb.org>
Mon, 5 Jun 2000 16:59:43 +0000 (16:59 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Mon, 5 Jun 2000 16:59:43 +0000 (16:59 +0000)
commit88a19424c64b30a89f5c5ee2769cc3b3964d48a8
tree650c51edc0d1d0ae5612cfe3c9b722ef07737051
parenta696c1d662f45421f7185f0fd31c010e86bd227a
objc-act.c (generate_method_descriptors): Register objc_method_prototype_template as a GC root.

* objc/objc-act.c (generate_method_descriptors): Register
objc_method_prototype_template as a GC root.
(comp_method_with_proto): Register function_type as a GC root.
(comp_proto_with_proto): Replace function_type1 and
function_type2 with a two-element array; register it as a GC root.

(generate_protocols, build_protocol_initializer,
generate_protocol_list, build_category_initializer,
build_shared_structure_initializer): Do not cache cast_type
and/or cast_type2.

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