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

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