* genattr.c (main): Emit state_t even when not doing scheduling.

From-SVN: r45214
This commit is contained in:
Richard Henderson 2001-08-27 15:35:41 -07:00 committed by Richard Henderson
parent 80c29cc437
commit a224278b11
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-08-27 Richard Henderson <rth@redhat.com>
* genattr.c (main): Emit state_t even when not doing scheduling.
2001-08-27 Roman Zippel <zippel@linux-m68k.org> 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
Richard Henderson <rth@redhat.com> Richard Henderson <rth@redhat.com>

View File

@ -448,6 +448,12 @@ main (argc, argv)
printf ("extern void dfa_start PARAMS ((void));\n"); printf ("extern void dfa_start PARAMS ((void));\n");
printf ("extern void dfa_finish PARAMS ((void));\n"); printf ("extern void dfa_finish PARAMS ((void));\n");
} }
else
{
/* Otherwise we do no scheduling, but we need these typedefs
in order to avoid uglifying other code with more ifdefs. */
printf ("typedef void *state_t;\n\n");
}
/* Output flag masks for use by reorg. /* Output flag masks for use by reorg.