[ecj] Fix build error

Gary Benson gbenson@redhat.com
Wed Nov 29 16:16:00 GMT 2006


Hi all,

This commit reorders rewrite_arglist_getcaller to fix a build error.

Cheers,
Gary
-------------- next part --------------
Index: java/ChangeLog
===================================================================
--- java/ChangeLog	(revision 119314)
+++ java/ChangeLog	(working copy)
@@ -1,3 +1,7 @@
+2006-11-29  Gary Benson  <gbenson@redhat.com>
+
+	* expr.c (rewrite_arglist_getcaller): Reorder.
+
 2006-11-29  Andrew Haley  <aph@redhat.com>
 
 	* expr.c (rewrite_arglist_getcaller): Remove DECL_INLINE.
Index: java/expr.c
===================================================================
--- java/expr.c	(revision 119314)
+++ java/expr.c	(working copy)
@@ -2054,13 +2054,13 @@
 static tree 
 rewrite_arglist_getcaller (tree arglist)
 {
-  DECL_INLINE (current_function_decl) = 0;
-
   tree retaddr 
     = (build_function_call_expr 
        (built_in_decls[BUILT_IN_RETURN_ADDRESS],
 	build_tree_list (NULL_TREE, integer_zero_node)));
   
+  DECL_INLINE (current_function_decl) = 0;
+
   return chainon (arglist, 
 		  tree_cons (NULL_TREE, retaddr, 
 			     NULL_TREE));


More information about the Java-patches mailing list