From: Jim Wilson Date: Thu, 22 Oct 1992 19:16:43 +0000 (-0700) Subject: (FUNCTION_VALUE): Simplify, just return reg 0. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=254f7d80a563fe15f2a6fe69958913b5f23c6118;p=gcc.git (FUNCTION_VALUE): Simplify, just return reg 0. From-SVN: r2563 --- diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h index bdfbb73baf0..1874cdd8b64 100644 --- a/gcc/config/i960/i960.h +++ b/gcc/config/i960/i960.h @@ -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. */