last-sched_cycle to last_clock, cur_cycle to clock.
* doc/tm.texi.in: Use @hook.
* doc/tm.texi: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161628
138bc75d-0d04-0410-961f-
82ee72b054a4
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
@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,
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,
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