]> git.ipfire.org Git - thirdparty/gcc.git/commit
java-tree.h (struct lang_type): Change type to a VEC.
authorNathan Froyd <froydnj@codesourcery.com>
Mon, 28 Jun 2010 12:06:52 +0000 (12:06 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Mon, 28 Jun 2010 12:06:52 +0000 (12:06 +0000)
commit9062f848ce87430efb0218a97068cbf3f2d9f214
treeaebfd63be8cd72586541ea999045763a67598c27
parent04924d6a8881c2f4d4461e0e7a169846f2a34a05
java-tree.h (struct lang_type): Change type to a VEC.

* java-tree.h (struct lang_type) [catch_classes]: Change type to a
VEC.
* except.c (prepare_eh_table_type): Call CONSTRUCTOR_APPEND_ELT
instead of tree_cons.
* class.c (make_class): Add dummy entry to TYPE_CATCH_CLASSES.
(emit_catch_table): Adjust for new type of TYPE_CATCH_CLASSES.

From-SVN: r161487
gcc/java/ChangeLog
gcc/java/class.c
gcc/java/except.c
gcc/java/java-tree.h