This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[gcjx] Patch: FYI: type of TRY_FINALLY_EXPR
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 26 Mar 2005 19:52:41 -0700
- Subject: [gcjx] Patch: FYI: type of TRY_FINALLY_EXPR
- Reply-to: tromey at redhat dot com
I'm checking this in on the gcjx branch.
This removes the type from the TRY_FINALLY_EXPRs we create.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* tree.cc (wrap_synchronized): Don't put a type on a
TRY_FINALLY_EXPR.
Index: tree.cc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Attic/tree.cc,v
retrieving revision 1.1.2.30
diff -u -r1.1.2.30 tree.cc
--- tree.cc 27 Mar 2005 02:54:59 -0000 1.1.2.30
+++ tree.cc 27 Mar 2005 02:55:34 -0000
@@ -807,8 +807,7 @@
tsi_link_after (&out, body, TSI_CONTINUE_LINKING);
- return build2 (TRY_FINALLY_EXPR, void_type_node,
- body_tree, exit_tree);
+ return build2 (TRY_FINALLY_EXPR, NULL_TREE, body_tree, exit_tree);
}
void