diff options
Diffstat (limited to 'gcc/config/c6x/c6x.c')
-rw-r--r-- | gcc/config/c6x/c6x.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/gcc/config/c6x/c6x.c b/gcc/config/c6x/c6x.c index 383634f..37da9a4 100644 --- a/gcc/config/c6x/c6x.c +++ b/gcc/config/c6x/c6x.c @@ -635,7 +635,7 @@ c6x_function_value_regno_p (const unsigned int regno) } /* Types larger than 64 bit, and variable sized types, are passed by - reference. The callee must copy them; see c6x_callee_copies. */ + reference. The callee must copy them; see TARGET_CALLEE_COPIES. */ static bool c6x_pass_by_reference (cumulative_args_t, const function_arg_info &arg) @@ -669,17 +669,6 @@ c6x_return_in_msb (const_tree valtype) return TARGET_BIG_ENDIAN && AGGREGATE_TYPE_P (valtype) && size == 3; } -/* Implement TARGET_CALLEE_COPIES. */ - -static bool -c6x_callee_copies (cumulative_args_t cum_v ATTRIBUTE_UNUSED, - machine_mode mode ATTRIBUTE_UNUSED, - const_tree type ATTRIBUTE_UNUSED, - bool named ATTRIBUTE_UNUSED) -{ - return true; -} - /* Return the type to use as __builtin_va_list. */ static tree c6x_build_builtin_va_list (void) @@ -6726,7 +6715,7 @@ c6x_modes_tieable_p (machine_mode mode1, machine_mode mode2) #undef TARGET_PASS_BY_REFERENCE #define TARGET_PASS_BY_REFERENCE c6x_pass_by_reference #undef TARGET_CALLEE_COPIES -#define TARGET_CALLEE_COPIES c6x_callee_copies +#define TARGET_CALLEE_COPIES hook_bool_CUMULATIVE_ARGS_arg_info_true #undef TARGET_STRUCT_VALUE_RTX #define TARGET_STRUCT_VALUE_RTX c6x_struct_value_rtx #undef TARGET_FUNCTION_OK_FOR_SIBCALL |