i386.c (legitimate_pic_address_disp_p): Remove static.

* i386.c (legitimate_pic_address_disp_p): Remove static.
        * i386.h (LEGITIMATE_PIC_OPERAND_P): Use it instead of
        open-coding cases.

From-SVN: r25208
This commit is contained in:
Richard Henderson 1999-02-14 15:02:16 -08:00 committed by Richard Henderson
parent c5d5d46141
commit 59be65f6b5
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
Sun Feb 14 23:01:28 1999 Richard Henderson <rth@cygnus.com>
* i386.c (legitimate_pic_address_disp_p): Remove static.
* i386.h (LEGITIMATE_PIC_OPERAND_P): Use it instead of
open-coding cases.
Sun Feb 14 21:03:28 1999 Jeffrey A Law (law@cygnus.com)
* except.c (start_catch_handler): Use emit_cmp_and_jump_insns.

View File

@ -2549,7 +2549,7 @@ do { \
} \
} while (0)
static int
int
legitimate_pic_address_disp_p (disp)
register rtx disp;
{

View File

@ -1790,8 +1790,7 @@ do { \
that X satisfies CONSTANT_P or is a CONST_DOUBLE. */
#define LEGITIMATE_PIC_OPERAND_P(X) \
(! SYMBOLIC_CONST (X) \
|| (GET_CODE (X) == SYMBOL_REF && CONSTANT_POOL_ADDRESS_P (X)))
(! SYMBOLIC_CONST (X) || legitimate_pic_address_disp_p (X))
#define SYMBOLIC_CONST(X) \
(GET_CODE (X) == SYMBOL_REF \