aboutsummaryrefslogtreecommitdiff
path: root/gcc/reload1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r--gcc/reload1.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index cbfcae7..ce06e06 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -8803,10 +8803,8 @@ gen_reload (rtx out, rtx in, int opnum, enum reload_type type)
mark_jump_label (in, tem, 0);
}
-#ifdef HAVE_reload_load_address
- else if (HAVE_reload_load_address)
- emit_insn (gen_reload_load_address (out, in));
-#endif
+ else if (targetm.have_reload_load_address ())
+ emit_insn (targetm.gen_reload_load_address (out, in));
/* Otherwise, just write (set OUT IN) and hope for the best. */
else