예제 #1
0
        public override bool IsILCostTrivial()
        {
            if (target.IsILCostTrivial())
            {
                return(true);
            }

            return(false);
        }
예제 #2
0
        public ILValue CreateTrivial(ILValue value)
        {
            if (value.IsILCostTrivial())
            {
                return(value);
            }

            return(CreateCementedLocal(value));
        }
예제 #3
0
 static public void UseValue(this ILCanvas item, ILValue value, Process <ILValue> process)
 {
     if (value.IsILCostTrivial())
     {
         process(value);
     }
     else
     {
         item.UseLocalValue(value, l => process(l));
     }
 }