Beispiel #1
0
        public override void SetStackContent(CompilerMethodContext context, ILOperation operation)
        {
            var last = operation.StackContent.Last();

            last.CheckCompatible(context.GetLocalVariableType(VarIndex));
            operation.StackContent.RemoveLast(1);
        }
Beispiel #2
0
 public override bool Is16Bit(CompilerMethodContext context, ILOperation operation)
 {
     return(context.GetLocalVariableType((int)operation.OriginalParameter).GetStorageBytes() == 2);
 }
Beispiel #3
0
 public override bool Is16Bit(CompilerMethodContext context, ILOperation operation)
 {
     return(context.GetLocalVariableType(VarIndex).GetStorageBytes() == 2);
 }
Beispiel #4
0
 public override void SetStackContent(CompilerMethodContext context, ILOperation operation)
 {
     operation.StackContent.Add(context.GetLocalVariableType((int)operation.OriginalParameter));
 }
Beispiel #5
0
 public override void SetStackContent(CompilerMethodContext context, ILOperation operation)
 {
     operation.StackContent.Add(context.GetLocalVariableType(VarIndex));
 }