aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i960
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1992-10-22 12:17:26 -0700
committerJim Wilson <wilson@gcc.gnu.org>1992-10-22 12:17:26 -0700
commitfb5779467f18040595ea4ec33a45b341577f30a3 (patch)
tree9d0c7a60dd38d8f2df50a775f3eff104cf258cbd /gcc/config/i960
parent254f7d80a563fe15f2a6fe69958913b5f23c6118 (diff)
downloadgcc-fb5779467f18040595ea4ec33a45b341577f30a3.zip
gcc-fb5779467f18040595ea4ec33a45b341577f30a3.tar.gz
gcc-fb5779467f18040595ea4ec33a45b341577f30a3.tar.bz2
(i960_function_value): Delete.
From-SVN: r2564
Diffstat (limited to 'gcc/config/i960')
-rw-r--r--gcc/config/i960/i960.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/config/i960/i960.c b/gcc/config/i960/i960.c
index f633462..83f81d9 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. */