aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/decl.c
diff options
context:
space:
mode:
authorRanjit Mathew <rmathew@hotmail.com>2003-02-12 23:39:50 +0000
committerTom Tromey <tromey@gcc.gnu.org>2003-02-12 23:39:50 +0000
commit697ec3260d91cf5b268fc2d33f45665806593ad5 (patch)
treed6c0a327ca1e0c7251a002f72b3c77ceb151d70e /gcc/java/decl.c
parent2bbfc54272ae1622f1935f916f47eec7373bd943 (diff)
downloadgcc-697ec3260d91cf5b268fc2d33f45665806593ad5.zip
gcc-697ec3260d91cf5b268fc2d33f45665806593ad5.tar.gz
gcc-697ec3260d91cf5b268fc2d33f45665806593ad5.tar.bz2
decl.c (java_init_decl_processing): Change soft_lookupjnimethod_node to reflect the change in signature of...
2003-02-12 Ranjit Mathew <rmathew@hotmail.com> * decl.c (java_init_decl_processing): Change soft_lookupjnimethod_node to reflect the change in signature of _Jv_LookupJNIMethod in libjava/jni.cc * expr.c (build_jni_stub): Calculate and pass the size on the stack of the arguments to a JNI function. Use new target macro MODIFY_JNI_METHOD_CALL to allow a target to modify the call to a JNI method. From-SVN: r62795
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r--gcc/java/decl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index 218d4ba..05f80ea 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -868,7 +868,9 @@ java_init_decl_processing (void)
t = tree_cons (NULL_TREE, object_ptr_type_node,
tree_cons (NULL_TREE, ptr_type_node,
- tree_cons (NULL_TREE, ptr_type_node, endlink)));
+ tree_cons (NULL_TREE, ptr_type_node,
+ tree_cons (NULL_TREE, int_type_node,
+ endlink))));
soft_lookupjnimethod_node
= builtin_function ("_Jv_LookupJNIMethod",
build_function_type (ptr_type_node, t),