Commit 59be65f6 by Richard Henderson Committed by Richard Henderson

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
parent c5d5d461
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) Sun Feb 14 21:03:28 1999 Jeffrey A Law (law@cygnus.com)
* except.c (start_catch_handler): Use emit_cmp_and_jump_insns. * except.c (start_catch_handler): Use emit_cmp_and_jump_insns.
......
...@@ -2549,7 +2549,7 @@ do { \ ...@@ -2549,7 +2549,7 @@ do { \
} \ } \
} while (0) } while (0)
static int int
legitimate_pic_address_disp_p (disp) legitimate_pic_address_disp_p (disp)
register rtx disp; register rtx disp;
{ {
......
...@@ -1790,8 +1790,7 @@ do { \ ...@@ -1790,8 +1790,7 @@ do { \
that X satisfies CONSTANT_P or is a CONST_DOUBLE. */ that X satisfies CONSTANT_P or is a CONST_DOUBLE. */
#define LEGITIMATE_PIC_OPERAND_P(X) \ #define LEGITIMATE_PIC_OPERAND_P(X) \
(! SYMBOLIC_CONST (X) \ (! SYMBOLIC_CONST (X) || legitimate_pic_address_disp_p (X))
|| (GET_CODE (X) == SYMBOL_REF && CONSTANT_POOL_ADDRESS_P (X)))
#define SYMBOLIC_CONST(X) \ #define SYMBOLIC_CONST(X) \
(GET_CODE (X) == SYMBOL_REF \ (GET_CODE (X) == SYMBOL_REF \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment