public override void SetStackContent(CompilerMethodContext context, ILOperation operation) { var last = operation.StackContent.Last(); last.CheckCompatible(context.GetLocalVariableType(VarIndex)); operation.StackContent.RemoveLast(1); }
public override bool Is16Bit(CompilerMethodContext context, ILOperation operation) { return(context.GetLocalVariableType((int)operation.OriginalParameter).GetStorageBytes() == 2); }
public override bool Is16Bit(CompilerMethodContext context, ILOperation operation) { return(context.GetLocalVariableType(VarIndex).GetStorageBytes() == 2); }
public override void SetStackContent(CompilerMethodContext context, ILOperation operation) { operation.StackContent.Add(context.GetLocalVariableType((int)operation.OriginalParameter)); }
public override void SetStackContent(CompilerMethodContext context, ILOperation operation) { operation.StackContent.Add(context.GetLocalVariableType(VarIndex)); }