diff options
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/lang.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 23a80c1..e7b05e7 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2007-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * lang.c (java_get_callee_fndecl): Constify. + 2007-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * mangle.c (set_type_package_list): Constify. diff --git a/gcc/java/lang.c b/gcc/java/lang.c index 693193d..3f2af64 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -63,7 +63,7 @@ static int inline_init_test_initialization (void * *, void *); static bool java_dump_tree (void *, tree); static void dump_compound_expr (dump_info_p, tree); static bool java_decl_ok_for_sibcall (tree); -static tree java_get_callee_fndecl (tree); +static tree java_get_callee_fndecl (const_tree); static void java_clear_binding_stack (void); #ifndef TARGET_OBJECT_SUFFIX @@ -951,7 +951,7 @@ java_decl_ok_for_sibcall (tree decl) will replace the indirection with a direct call, which undoes the purpose of the atable indirection. */ static tree -java_get_callee_fndecl (tree call_expr) +java_get_callee_fndecl (const_tree call_expr) { tree method, table, element, atable_methods; |