This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[gcjx] Patch: FYI: fix two declarations
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 17 May 2005 18:03:34 -0600
- Subject: [gcjx] Patch: FYI: fix two declarations
- Reply-to: tromey at redhat dot com
I'm checking this in on the gcjx branch.
This fixes the declarations of a couple of runtime functions
referenced by gcjx.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* decl.cc (initialize_builtin_functions): Fix declaration of
_Jv_AllocObject and _Jv_AllocObjectNoFinalizer.
Index: decl.cc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Attic/decl.cc,v
retrieving revision 1.1.2.19
diff -u -r1.1.2.19 decl.cc
--- decl.cc 17 Apr 2005 21:29:28 -0000 1.1.2.19
+++ decl.cc 18 May 2005 00:06:08 -0000
@@ -597,8 +597,7 @@
// I wonder why this isn't created by GCC itself.
void_list_node = build_tree_list (NULL_TREE, void_type_node);
- tree t = tree_cons (NULL_TREE, type_class_ptr,
- tree_cons (NULL_TREE, type_jint, void_list_node));
+ tree t = tree_cons (NULL_TREE, type_class_ptr, void_list_node);
builtin_Jv_AllocObject
= gcjx::builtin_function ("_Jv_AllocObject",
build_function_type (ptr_type_node, t),