diff options
Diffstat (limited to 'gcc/sel-sched.c')
-rw-r--r-- | gcc/sel-sched.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/sel-sched.c b/gcc/sel-sched.c index 8590b8a0549..78816252997 100644 --- a/gcc/sel-sched.c +++ b/gcc/sel-sched.c @@ -6863,11 +6863,11 @@ sel_region_init (int rgn) /* Set hooks so that no newly generated insn will go out unnoticed. */ sel_register_cfg_hooks (); - /* !!! We call target.sched.md_init () for the whole region, but we invoke - targetm.sched.md_finish () for every ebb. */ - if (targetm.sched.md_init) + /* !!! We call target.sched.init () for the whole region, but we invoke + targetm.sched.finish () for every ebb. */ + if (targetm.sched.init) /* None of the arguments are actually used in any target. */ - targetm.sched.md_init (sched_dump, sched_verbose, -1); + targetm.sched.init (sched_dump, sched_verbose, -1); first_emitted_uid = get_max_uid () + 1; preheader_removed = false; @@ -6949,11 +6949,11 @@ reset_sched_cycles_in_current_ebb (void) int haifa_clock = 0; insn_t insn; - if (targetm.sched.md_init) + if (targetm.sched.init) { /* None of the arguments are actually used in any target. NB: We should have md_reset () hook for cases like this. */ - targetm.sched.md_init (sched_dump, sched_verbose, -1); + targetm.sched.init (sched_dump, sched_verbose, -1); } state_reset (curr_state); @@ -7131,14 +7131,14 @@ sel_region_target_finish (bool reset_sched_cycles_p) if (reset_sched_cycles_p) reset_sched_cycles_in_current_ebb (); - if (targetm.sched.md_init) - targetm.sched.md_init (sched_dump, sched_verbose, -1); + if (targetm.sched.init) + targetm.sched.init (sched_dump, sched_verbose, -1); put_TImodes (); - if (targetm.sched.md_finish) + if (targetm.sched.finish) { - targetm.sched.md_finish (sched_dump, sched_verbose); + targetm.sched.finish (sched_dump, sched_verbose); /* Extend luids so that insns generated by the target will get zero luid. */ |