diff options
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 2 | ||||
-rw-r--r-- | gcc/objc/objc-act.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index fdcec9d..9c41a97 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,8 @@ +2007-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * objc-act.c (objc_get_callee_fndecl): Constify. + * objc-act.h (objc_get_callee_fndecl): Likewise. + 2007-07-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * objc-act.c (volatilized_hash, volatilized_eq, string_hash, diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 3f0d6de..4e94c6f 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -9512,7 +9512,7 @@ objc_gimplify_expr (tree *expr_p, tree *pre_p, tree *post_p) version looks for the OBJ_TYPE_REF_EXPR which is used for objc_msgSend. */ tree -objc_get_callee_fndecl (tree call_expr) +objc_get_callee_fndecl (const_tree call_expr) { tree addr = CALL_EXPR_FN (call_expr); if (TREE_CODE (addr) != OBJ_TYPE_REF) diff --git a/gcc/objc/objc-act.h b/gcc/objc/objc-act.h index d801865..c706095 100644 --- a/gcc/objc/objc-act.h +++ b/gcc/objc/objc-act.h @@ -29,7 +29,7 @@ Boston, MA 02110-1301, USA. */ bool objc_init (void); const char *objc_printable_name (tree, int); -tree objc_get_callee_fndecl (tree); +tree objc_get_callee_fndecl (const_tree); void objc_finish_file (void); tree objc_fold_obj_type_ref (tree, tree); enum gimplify_status objc_gimplify_expr (tree *, tree *, tree *); |