target.def (dfa_new_cycle): Use DEFHOOK.

* target.def (dfa_new_cycle): Use DEFHOOK.  Rename dump_file to dump,
	last-sched_cycle to last_clock, cur_cycle to clock.
	* doc/tm.texi.in: Use @hook.
	* doc/tm.texi: Regenerate.

From-SVN: r161628
This commit is contained in:
Joern Rennecke 2010-06-30 18:11:35 +00:00 committed by Joern Rennecke
parent 893d13d526
commit c06bbdf736
4 changed files with 9 additions and 8 deletions

View File

@ -43,6 +43,11 @@
Rename stack-size to size.
* doc/tm.texi: Regenerate.
* target.def (dfa_new_cycle): Use DEFHOOK. Rename dump_file to dump,
last-sched_cycle to last_clock, cur_cycle to clock.
* doc/tm.texi.in: Use @hook.
* doc/tm.texi: Regenerate.
2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
* toplev.h (_fatal_insn_not_found, _fatal_insn): Move declarations

View File

@ -6645,7 +6645,6 @@ The default is that any ready insns can be chosen to be issued.
@end deftypefn
@deftypefn {Target Hook} int TARGET_SCHED_DFA_NEW_CYCLE (FILE *@var{dump}, int @var{verbose}, rtx @var{insn}, int @var{last_clock}, int @var{clock}, int *@var{sort_p})
This hook is called by the insn scheduler before issuing @var{insn}
on cycle @var{clock}. If the hook returns nonzero,
@var{insn} is not issued on this processor cycle. Instead,

View File

@ -6644,8 +6644,7 @@ be issued.
The default is that any ready insns can be chosen to be issued.
@end deftypefn
@deftypefn {Target Hook} int TARGET_SCHED_DFA_NEW_CYCLE (FILE *@var{dump}, int @var{verbose}, rtx @var{insn}, int @var{last_clock}, int @var{clock}, int *@var{sort_p})
@hook TARGET_SCHED_DFA_NEW_CYCLE
This hook is called by the insn scheduler before issuing @var{insn}
on cycle @var{clock}. If the hook returns nonzero,
@var{insn} is not issued on this processor cycle. Instead,

View File

@ -599,13 +599,11 @@ DEFHOOK
verbose level of the debugging output. The forth and the fifth
parameter values are correspondingly processor cycle on which
the previous insn has been issued and the current processor cycle. */
/* ??? The documentation uses different names for dump_file,
last_sched_cycle and cur_cycle. */
DEFHOOK_UNDOC
DEFHOOK
(dfa_new_cycle,
"",
int, (FILE *dump_file, int verbose, rtx insn, int last_sched_cycle,
int cur_cycle, int *sort_p),
int, (FILE *dump, int verbose, rtx insn, int last_clock,
int clock, int *sort_p),
NULL)
/* The following member value is a pointer to a function called by the