diff options
Diffstat (limited to 'gcc/target.h')
| -rw-r--r-- | gcc/target.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/target.h b/gcc/target.h index d1af44335ac..ad92d93e7ec 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -749,18 +749,18 @@ struct gcc_target /* Functions relating to calls - argument passing, returns, etc. */ struct calls { - bool (*promote_function_args) (tree fntype); - bool (*promote_function_return) (tree fntype); - bool (*promote_prototypes) (tree fntype); + bool (*promote_function_args) (const_tree fntype); + bool (*promote_function_return) (const_tree fntype); + bool (*promote_prototypes) (const_tree fntype); rtx (*struct_value_rtx) (tree fndecl, int incoming); - bool (*return_in_memory) (tree type, tree fndecl); - bool (*return_in_msb) (tree type); + bool (*return_in_memory) (const_tree type, const_tree fndecl); + bool (*return_in_msb) (const_tree type); /* Return true if a parameter must be passed by reference. TYPE may be null if this is a libcall. CA may be null if this query is from __builtin_va_arg. */ bool (*pass_by_reference) (CUMULATIVE_ARGS *ca, enum machine_mode mode, - tree type, bool named_arg); + const_tree type, bool named_arg); rtx (*expand_builtin_saveregs) (void); /* Returns pretend_argument_size. */ @@ -781,13 +781,13 @@ struct gcc_target but must be passed on the stack. */ /* ??? This predicate should be applied strictly after pass-by-reference. Need audit to verify that this is the case. */ - bool (* must_pass_in_stack) (enum machine_mode mode, tree t); + bool (* must_pass_in_stack) (enum machine_mode mode, const_tree t); /* Return true if type TYPE, mode MODE, which is passed by reference, should have the object copy generated by the callee rather than the caller. It is never called for TYPE requiring constructors. */ bool (* callee_copies) (CUMULATIVE_ARGS *ca, enum machine_mode mode, - tree type, bool named); + const_tree type, bool named); /* Return zero for arguments passed entirely on the stack or entirely in registers. If passed in both, return the number of bytes passed @@ -802,7 +802,7 @@ struct gcc_target /* Return an rtx for the return value location of the function specified by FN_DECL_OR_TYPE with a return type of RET_TYPE. */ - rtx (*function_value) (tree ret_type, tree fn_decl_or_type, + rtx (*function_value) (const_tree ret_type, const_tree fn_decl_or_type, bool outgoing); /* Return an rtx for the argument pointer incoming to the |

