aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m32r/m32r.h
diff options
context:
space:
mode:
authorAnatoly Sokolov <aesok@post.ru>2010-09-04 23:22:24 +0400
committerAnatoly Sokolov <aesok@gcc.gnu.org>2010-09-04 23:22:24 +0400
commit8c9cb6e652c706ec846ca83651a7a1c68067cc8f (patch)
treed710d9f436235f6acb4bfdad8605ec4f0af34d4d /gcc/config/m32r/m32r.h
parente060847174c062531afd9061761b516cb6229960 (diff)
downloadgcc-8c9cb6e652c706ec846ca83651a7a1c68067cc8f.zip
gcc-8c9cb6e652c706ec846ca83651a7a1c68067cc8f.tar.gz
gcc-8c9cb6e652c706ec846ca83651a7a1c68067cc8f.tar.bz2
m32r.c (m32r_function_value, [...]): New functions.
* config/m32r/m32r.c (m32r_function_value, m32r_libcall_value, m32r_function_value_regno_p): New functions. (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Declare. * config/m32r/m32r.h: (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Remove. From-SVN: r163864
Diffstat (limited to 'gcc/config/m32r/m32r.h')
-rw-r--r--gcc/config/m32r/m32r.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/gcc/config/m32r/m32r.h b/gcc/config/m32r/m32r.h
index 81fc19b..2ea0d31 100644
--- a/gcc/config/m32r/m32r.h
+++ b/gcc/config/m32r/m32r.h
@@ -1,6 +1,6 @@
/* Definitions of target machine for GNU compiler, Renesas M32R cpu.
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
- 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+ 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
This file is part of GCC.
@@ -855,21 +855,6 @@ extern enum reg_class m32r_regno_reg_class[FIRST_PSEUDO_REGISTER];
/* Function results. */
-/* Define how to find the value returned by a function.
- VALTYPE is the data type of the value (as a tree).
- If the precise function being called is known, FUNC is its FUNCTION_DECL;
- otherwise, FUNC is 0. */
-#define FUNCTION_VALUE(VALTYPE, FUNC) gen_rtx_REG (TYPE_MODE (VALTYPE), 0)
-
-/* Define how to find the value returned by a library function
- assuming the value has mode MODE. */
-#define LIBCALL_VALUE(MODE) gen_rtx_REG (MODE, 0)
-
-/* 1 if N is a possible register number for a function value
- as seen by the caller. */
-/* ??? What about r1 in DI/DF values. */
-#define FUNCTION_VALUE_REGNO_P(N) ((N) == 0)
-
/* Tell GCC to use TARGET_RETURN_IN_MEMORY. */
#define DEFAULT_PCC_STRUCT_RETURN 0