From fb5779467f18040595ea4ec33a45b341577f30a3 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Thu, 22 Oct 1992 12:17:26 -0700 Subject: [PATCH] (i960_function_value): Delete. From-SVN: r2564 --- gcc/config/i960/i960.c | 24 ------------------------ 1 file changed, 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. */