示例#1
0
 public IList<XILSInstr> Rewrite(IList<XILSInstr> instrs)
 {
     var impl = new TypeReplacerImpl(instrs)
     {
         GenuineType = GenuineType,
         ReplacementType = ReplacementType
     };
     impl.Rewrite();
     return impl.OutInstructions;
 }
示例#2
0
        public IList <XILSInstr> Rewrite(IList <XILSInstr> instrs)
        {
            var impl = new TypeReplacerImpl(instrs)
            {
                GenuineType     = GenuineType,
                ReplacementType = ReplacementType
            };

            impl.Rewrite();
            return(impl.OutInstructions);
        }