modulo-sched.c, [...]: Use targetm.foo instead of (*targetm.foo).
* modulo-sched.c, tree-stdarg.c: Use targetm.foo instead of (*targetm.foo). From-SVN: r98907
This commit is contained in:
parent
01a1e85a73
commit
1c91de89b8
3 changed files with 13 additions and 8 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-04-28 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* modulo-sched.c, tree-stdarg.c: Use targetm.foo instead of
|
||||
(*targetm.foo).
|
||||
|
||||
2005-04-28 Joseph S. Myers <joseph@codesourcery.com>
|
||||
|
||||
* c-typeck.c (build_compound_expr): Correct logic in last change.
|
||||
|
|
|
@ -1000,7 +1000,7 @@ sms_schedule (FILE *dump_file)
|
|||
int temp = reload_completed;
|
||||
|
||||
reload_completed = 1;
|
||||
issue_rate = (*targetm.sched.issue_rate) ();
|
||||
issue_rate = targetm.sched.issue_rate ();
|
||||
reload_completed = temp;
|
||||
}
|
||||
else
|
||||
|
@ -2342,13 +2342,13 @@ advance_one_cycle (void)
|
|||
{
|
||||
if (targetm.sched.dfa_pre_cycle_insn)
|
||||
state_transition (curr_state,
|
||||
(*targetm.sched.dfa_pre_cycle_insn) ());
|
||||
targetm.sched.dfa_pre_cycle_insn ());
|
||||
|
||||
state_transition (curr_state, NULL);
|
||||
|
||||
if (targetm.sched.dfa_post_cycle_insn)
|
||||
state_transition (curr_state,
|
||||
(*targetm.sched.dfa_post_cycle_insn) ());
|
||||
targetm.sched.dfa_post_cycle_insn ());
|
||||
}
|
||||
|
||||
/* Given the kernel of a loop (from FIRST_INSN to LAST_INSN), finds
|
||||
|
@ -2392,8 +2392,8 @@ kernel_number_of_cycles (rtx first_insn, rtx last_insn)
|
|||
|
||||
if (targetm.sched.variable_issue)
|
||||
can_issue_more =
|
||||
(*targetm.sched.variable_issue) (sched_dump, sched_verbose,
|
||||
insn, can_issue_more);
|
||||
targetm.sched.variable_issue (sched_dump, sched_verbose,
|
||||
insn, can_issue_more);
|
||||
/* A naked CLOBBER or USE generates no instruction, so don't
|
||||
let them consume issue slots. */
|
||||
else if (GET_CODE (PATTERN (insn)) != USE
|
||||
|
@ -2440,8 +2440,8 @@ ps_has_conflicts (partial_schedule_ptr ps, int from, int to)
|
|||
|
||||
if (targetm.sched.variable_issue)
|
||||
can_issue_more =
|
||||
(*targetm.sched.variable_issue) (sched_dump, sched_verbose,
|
||||
insn, can_issue_more);
|
||||
targetm.sched.variable_issue (sched_dump, sched_verbose,
|
||||
insn, can_issue_more);
|
||||
/* A naked CLOBBER or USE generates no instruction, so don't
|
||||
let them consume issue slots. */
|
||||
else if (GET_CODE (PATTERN (insn)) != USE
|
||||
|
|
|
@ -783,7 +783,7 @@ execute_optimize_stdarg (void)
|
|||
|
||||
/* Do any architecture specific checking. */
|
||||
else if (targetm.stdarg_optimize_hook
|
||||
&& (*targetm.stdarg_optimize_hook) (&si, lhs, rhs))
|
||||
&& targetm.stdarg_optimize_hook (&si, lhs, rhs))
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue