From b49c27c320ba5fa4d038fe5619e3185bc2c1aa50 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 9 Nov 2012 09:20:12 -0800 Subject: Use hook_bool_void_true for TARGET_LRA_P From-SVN: r193370 --- gcc/config/i386/i386.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'gcc/config') diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 3a6f494..60a39b8 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -32856,13 +32856,6 @@ ix86_free_from_memory (enum machine_mode mode) } } -/* Return true if we use LRA instead of reload pass. */ -static bool -ix86_lra_p (void) -{ - return true; -} - /* Return a register priority for hard reg REGNO. */ static int ix86_register_priority (int hard_regno) @@ -42119,7 +42112,7 @@ ix86_memmodel_check (unsigned HOST_WIDE_INT val) #define TARGET_LEGITIMATE_ADDRESS_P ix86_legitimate_address_p #undef TARGET_LRA_P -#define TARGET_LRA_P ix86_lra_p +#define TARGET_LRA_P hook_bool_void_true #undef TARGET_REGISTER_PRIORITY #define TARGET_REGISTER_PRIORITY ix86_register_priority -- cgit v1.1