(i960_function_value): Delete.
authorJim Wilson <wilson@gcc.gnu.org>
Thu, 22 Oct 1992 19:17:26 +0000 (12:17 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Thu, 22 Oct 1992 19:17:26 +0000 (12:17 -0700)
From-SVN: r2564

gcc/config/i960/i960.c

index f633462d192a1ea580903becbc14c71fc8d91d4c..83f81d9bcef452349c3ad21c97968bbd54bfadd9 100644 (file)
@@ -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);
-}
 \f
 /* Floating-point support.  */