]> gcc.gnu.org Git - gcc.git/commitdiff
target.def (dfa_new_cycle): Use DEFHOOK.
authorJoern Rennecke <joern.rennecke@embecosm.com>
Wed, 30 Jun 2010 18:11:35 +0000 (18:11 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Wed, 30 Jun 2010 18:11:35 +0000 (19:11 +0100)
* 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

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

index 5512ffc550fd37c653db99b77780ad98f059e8e4..901e8a1af93461063e979d6c2463518dc7451a27 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 99b4dd4198cf5928f458d47706f20207e9a2b7c8..220a44d73f0e9ce6f695de5b5ae7eeb0fd22daba 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 a9a2e955b6ac409a79553e8a87b7edc00f5fba23..083d56ffd3ba53b105361b002d5f0c5931de19b9 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 2bafeca8aacb8a6e1b6afd82e07d5a27325572fa..db89af72248955954eb9094ccc7d048ac3a043b7 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
This page took 0.127388 seconds and 5 git commands to generate.