diff options
author | Kaz Kojima <kkojima@gcc.gnu.org> | 2009-05-18 22:31:46 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2009-05-18 22:31:46 +0000 |
commit | 1bb99877d3353dbb216ee90a61bd9de811387c7d (patch) | |
tree | 47e4b75fcd061158001e39194bfc12f65db9f17a /gcc/config/sh/sh.h | |
parent | ff74fd1325ef58c09af1b294338321df2f6b97f0 (diff) | |
download | gcc-1bb99877d3353dbb216ee90a61bd9de811387c7d.zip gcc-1bb99877d3353dbb216ee90a61bd9de811387c7d.tar.gz gcc-1bb99877d3353dbb216ee90a61bd9de811387c7d.tar.bz2 |
sh-protos.h (sh_legitimate_address_p): Remove.
* config/sh/sh-protos.h (sh_legitimate_address_p): Remove.
* config/sh/sh.c (sh_legitimate_address_p): Make static.
(TARGET_LEGITIMATE_ADDRESS_P): New.
* config/sh/sh.h (GO_IF_LEGITIMATE_ADDRESS): Delete.
* config/sh/sh.md: Clean up references to GO_IF_LEGITIMATE_ADDRESS.
From-SVN: r147679
Diffstat (limited to 'gcc/config/sh/sh.h')
-rw-r--r-- | gcc/config/sh/sh.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index d63a7d6..c3c08bb 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -2320,20 +2320,6 @@ struct sh_args { if (sh_legitimate_index_p ((MODE), (OP))) \ goto WIN; \ } while (0) - -#ifdef REG_OK_STRICT -#define GO_IF_LEGITIMATE_ADDRESS(MODE, X, LABEL) \ - do { \ - if (sh_legitimate_address_p ((MODE), (X), true)) \ - goto LABEL; \ - } while (0) -#else -#define GO_IF_LEGITIMATE_ADDRESS(MODE, X, LABEL) \ - do { \ - if (sh_legitimate_address_p ((MODE), (X), false)) \ - goto LABEL; \ - } while (0) -#endif /* A C compound statement that attempts to replace X, which is an address that needs reloading, with a valid memory address for an operand of |