OSDN Git Service

* target.def (dfa_new_cycle): Use DEFHOOK. Rename dump_file to dump,
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Jun 2010 18:11:35 +0000 (18:11 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Jun 2010 18:11:35 +0000 (18:11 +0000)
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

gcc/ChangeLog
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/target.def

index 5512ffc..901e8a1 100644 (file)
        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
index 99b4dd4..220a44d 100644 (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,
index a9a2e95..083d56f 100644 (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,
index 2bafeca..db89af7 100644 (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