diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-21 00:39:05 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-21 00:39:05 +0000 |
commit | a6e6eeae4ec5a01b345d62681f637526ef5ccf8d (patch) | |
tree | 9fa392b00802fdde47c169ef1bd870bd2e34eb66 /gcc/builtins.c | |
parent | 45c09478fca62fa58a6c181b33e15fda40f9a468 (diff) | |
download | gcc-a6e6eeae4ec5a01b345d62681f637526ef5ccf8d.tar.gz |
* alias.c (OUTGOING_REGNO): Don't define the default.
* builtins.c (OUTGOING_REGNO): Likewise.
(INCOMING_REGNO): Likewise.
(apply_args_register_offset): Always use OUTGOING_REGNO.
* combine.c (OUTGOING_REGNO): Likewise.
* sibcall.c (OUTGOING_REGNO): Likewise.
* defaults.h (INCOMING_REGNO): Provide the default.
(OUTGOING_REGNO): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index a5520a3b97c..7e5953a955c 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -48,14 +48,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #define CALLED_AS_BUILT_IN(NODE) \ (!strncmp (IDENTIFIER_POINTER (DECL_NAME (NODE)), "__builtin_", 10)) -/* Register mappings for target machines without register windows. */ -#ifndef INCOMING_REGNO -#define INCOMING_REGNO(OUT) (OUT) -#endif -#ifndef OUTGOING_REGNO -#define OUTGOING_REGNO(IN) (IN) -#endif - #ifndef PAD_VARARGS_DOWN #define PAD_VARARGS_DOWN BYTES_BIG_ENDIAN #endif @@ -902,10 +894,7 @@ apply_args_register_offset (int regno) /* Arguments are always put in outgoing registers (in the argument block) if such make sense. */ -#ifdef OUTGOING_REGNO - regno = OUTGOING_REGNO (regno); -#endif - return apply_args_reg_offset[regno]; + return apply_args_reg_offset[OUTGOING_REGNO (regno)]; } /* Return the size required for the block returned by __builtin_apply_args, |