* 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
+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.
} \
} while (0)
-static int
+int
legitimate_pic_address_disp_p (disp)
register rtx disp;
{
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 \