public IList <XILSInstr> Rewrite(IList <XILSInstr> instrs) { XILMemoryMapperImpl xmm = new XILMemoryMapperImpl(instrs, Mapper) { MapConstantsToMemory = this.MapConstantsToNemory, MapVariablesToMemory = this.MapVariablesToMemory }; xmm.Rewrite(); return(xmm.OutInstructions); }
public IList<XILSInstr> Rewrite(IList<XILSInstr> instrs) { XILMemoryMapperImpl xmm = new XILMemoryMapperImpl(instrs, Mapper) { MapConstantsToMemory = this.MapConstantsToNemory, MapVariablesToMemory = this.MapVariablesToMemory }; xmm.Rewrite(); return xmm.OutInstructions; }