aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1992-10-22 12:16:43 -0700
committerJim Wilson <wilson@gcc.gnu.org>1992-10-22 12:16:43 -0700
commit254f7d80a563fe15f2a6fe69958913b5f23c6118 (patch)
tree10cc83672a41dfcbc0b073c1e29aa1196249ee16
parentc44779ee22e356cef60bc04479601f65b08f2cc1 (diff)
downloadgcc-254f7d80a563fe15f2a6fe69958913b5f23c6118.zip
gcc-254f7d80a563fe15f2a6fe69958913b5f23c6118.tar.gz
gcc-254f7d80a563fe15f2a6fe69958913b5f23c6118.tar.bz2
(FUNCTION_VALUE): Simplify, just return reg 0.
From-SVN: r2563
-rw-r--r--gcc/config/i960/i960.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h
index bdfbb73..1874cdd 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. */