o << indent(ind) << "goto " << labelPrefix << to->label << ";\n";
}
-void State::emit(Output & output, uint32_t ind, bool &readCh, const std::string& condName) const
+void State::emit(OutputFile & o, uint32_t ind, bool &readCh, const std::string& condName) const
{
- OutputFile & o = output.source;
-
if (!DFlag)
{
if (vUsedLabels.count(label))
for (s = head; s; s = s->next)
{
bool readCh = false;
- s->emit(null_dev, ind, readCh, condName);
+ s->emit(null_dev.source, ind, readCh, condName);
s->go.emit(null_dev.source, ind, readCh);
}
if (last_fill_index < next_fill_index)
for (s = head; s; s = s->next)
{
bool readCh = false;
- s->emit(output, ind, readCh, condName);
+ s->emit(o, ind, readCh, condName);
s->go.emit(o, ind, readCh);
}
State ();
~State ();
- void emit (Output &, uint32_t, bool &, const std::string &) const;
+ void emit (OutputFile &, uint32_t, bool &, const std::string &) const;
friend std::ostream& operator << (std::ostream &, const State &);
FORBID_COPY (State);