public override bool IsILCostTrivial() { if (target.IsILCostTrivial()) { return(true); } return(false); }
public ILValue CreateTrivial(ILValue value) { if (value.IsILCostTrivial()) { return(value); } return(CreateCementedLocal(value)); }
static public void UseValue(this ILCanvas item, ILValue value, Process <ILValue> process) { if (value.IsILCostTrivial()) { process(value); } else { item.UseLocalValue(value, l => process(l)); } }