Example #1
0
 public PowerReductionTranslator(ReachingDef<MilocInstruction> defs)
     : base(false)
 {
     this.defs = defs;
 }
Example #2
0
 public static ProgramBlock<MilocInstruction> DoOpt(ProgramBlock<MilocInstruction> prog)
 {
     var defs = new ReachingDef<MilocInstruction>(prog);
     var conv = prog.Convert(new MilocConverter<MilocInstruction>(new PowerReductionTranslator(defs)));
     return (ProgramBlock<MilocInstruction>)conv;
 }