This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gcjx] Patch: FYI: type of TRY_FINALLY_EXPR


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]