Ejemplo n.º 1
0
        public IList <XILSInstr> Rewrite(IList <XILSInstr> instrs)
        {
            XILMemoryMapperImpl xmm = new XILMemoryMapperImpl(instrs, Mapper)
            {
                MapConstantsToMemory = this.MapConstantsToNemory,
                MapVariablesToMemory = this.MapVariablesToMemory
            };

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