Skip to content

Commit

Permalink
remove some commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
AD1024 committed Oct 8, 2024
1 parent 08aa8bc commit a11c558
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions Src/PCompiler/CompilerCore/Backend/Uclid5/Uclid5CodeGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1337,25 +1337,6 @@ private void GenerateControlBlock(Machine m, State s, PEvent e)
EmitLine($"verify({m.Name}_{s.Name}_{e.Name});");
}

// foreach (var m in machines)
// {
// foreach (var s in m.States)
// {
// if (_ctx.Job.CheckOnly is null || _ctx.Job.CheckOnly == m.Name || _ctx.Job.CheckOnly == s.Name)
// {
// EmitLine($"verify({m.Name}_{s.Name});");
// }

// foreach (var e in events.Where(e => !e.IsNullEvent && !e.IsHaltEvent && s.HasHandler(e)))
// {
// if (_ctx.Job.CheckOnly is null || _ctx.Job.CheckOnly == m.Name || _ctx.Job.CheckOnly == s.Name || _ctx.Job.CheckOnly == e.Name)
// {
// EmitLine($"verify({m.Name}_{s.Name}_{e.Name});");
// }
// }
// }
// }

EmitLine("check;");
EmitLine("print_results;");
EmitLine("}");
Expand Down

0 comments on commit a11c558

Please sign in to comment.