Commit a224278b by Richard Henderson Committed by Richard Henderson

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

From-SVN: r45214
parent 80c29cc4
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>
......
...@@ -448,6 +448,12 @@ main (argc, argv) ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment