(FUNCTION_VALUE): Simplify, just return reg 0.
authorJim Wilson <wilson@gcc.gnu.org>
Thu, 22 Oct 1992 19:16:43 +0000 (12:16 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Thu, 22 Oct 1992 19:16:43 +0000 (12:16 -0700)
From-SVN: r2563

gcc/config/i960/i960.h

index bdfbb73..1874cdd 100644 (file)
@@ -815,8 +815,8 @@ extern struct rtx_def *i960_function_arg ();
    If the precise function being called is known, FUNC is its FUNCTION_DECL;
    otherwise, FUNC is 0.  */
 
-extern struct rtx_def *i960_function_value ();
-#define FUNCTION_VALUE(TYPE, FUNC) i960_function_value (TYPE)
+#define FUNCTION_VALUE(TYPE, FUNC) \
+  gen_rtx (REG, TYPE_MODE (TYPE), 0)
 
 /* Force objects larger than 16 bytes to be returned in memory, since we
    only have 4 registers available for return values.  */