diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-10-22 19:17:26 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-10-22 19:17:26 +0000 |
commit | bac1783a081cd1af6733aa732cf15713cf4b9a1d (patch) | |
tree | 9d0c7a60dd38d8f2df50a775f3eff104cf258cbd /gcc/config/i960/i960.c | |
parent | 30fa69fff2011d8458c908cd0e6ab7c2daf5b2ae (diff) | |
download | gcc-bac1783a081cd1af6733aa732cf15713cf4b9a1d.tar.gz |
(i960_function_value): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2564 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i960/i960.c')
-rw-r--r-- | gcc/config/i960/i960.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/config/i960/i960.c b/gcc/config/i960/i960.c index f633462d192..83f81d9bcef 100644 --- a/gcc/config/i960/i960.c +++ b/gcc/config/i960/i960.c @@ -1980,30 +1980,6 @@ i960_function_arg (cum, mode, type, named) return ret; } - -/* Return the rtx for the register representing the return value, or 0 - if the return value must be passed through the stack. */ - -rtx -i960_function_value (type) - tree type; -{ - int mode = TYPE_MODE (type); - - if (mode == BLKmode) - { - unsigned int size = int_size_in_bytes (type); - - if (size <= 16) - mode = mode_for_size (i960_object_bytes_bitalign (size), MODE_INT, 0); - } - - if (mode == BLKmode || mode == VOIDmode) - /* Tell stmt.c and expr.c to pass in address */ - return 0; - else - return gen_rtx (REG, mode, 0); -} /* Floating-point support. */ |