internal Call(OpCode opcode) { this.opcode = opcode; }
public Simple(OpCode opcode) { this.opcode = opcode; }
public static Instruction Create(OpCode opcode) { Instruction i = new Instruction(); i.opCode = opcode; i.type = InstructionType.OpCode; i.operandType = typeof(Empty); i.operand = new Empty(); return i; }
public static bool TakesSingleByteArgument(OpCode inst) { switch (inst.Value) { case 14: case 15: case 16: case 17: case 18: case 19: case 31: case 43: case 44: case 45: case 46: case 47: case 48: case 49: case 50: case 51: case 52: case 53: case 54: case 55: case 222: case -494: return true; default: return false; } }
public void Emit(IKVM.Reflection.Emit.OpCode opcode, Label[] labels) => generator.Emit(opcode, labels);
public void Emit(IKVM.Reflection.Emit.OpCode opcode, MethodInfo meth) => generator.Emit(opcode, meth);
internal static Instruction Create(OpCode opcode, Label label) { Instruction i = new Instruction(); i.opCode = opcode; i.type = InstructionType.OpCode; i.operand = label; i.operandType = typeof(Label); return i; }
public void Emit(IKVM.Reflection.Emit.OpCode opcode) => generator.Emit(opcode);
internal static Instruction Create(OpCode opcode, long number) { Instruction i = new Instruction(); i.opCode = opcode; i.type = InstructionType.OpCode; i.operand = number; i.operandType = typeof(long); return i; }
internal static Instruction Create(OpCode opcode, LocalBuilder lvar) { Instruction i = new Instruction(); i.opCode = opcode; i.type = InstructionType.OpCode; i.operand = lvar; i.operandType = typeof(LocalBuilder); return i; }
public static Instruction Create(OpCode opcode, IKType type) { Instruction i = new Instruction(); i.opCode = opcode; i.type = InstructionType.OpCode; i.operand = type; i.operandType = typeof(IKType); return i; }
public static Instruction Create(OpCode opcode, IKMethod met) { Instruction i = new Instruction(); i.opCode = opcode; i.type = InstructionType.OpCode; i.operand = met; i.operandType = typeof(IKMethod); return i; }
public static Instruction Create(OpCode opcode, string str) { Instruction i = new Instruction(); i.opCode = opcode; i.type = InstructionType.OpCode; i.operand = str; i.operandType = typeof(string); return i; }
internal TypeInstruction(OpCode opcode) { this.opcode = opcode; }
public void Emit(OpCode opcode) { Append(Instruction.Create(opcode)); }
public Branch(OpCode opcode) { this.opcode = opcode; }
public void Emit(OpCode opcode, string str) { Append(Instruction.Create(opcode, str)); }
public void Emit(IKVM.Reflection.Emit.OpCode opcode, double arg) => generator.Emit(opcode, arg);
public void Emit(OpCode opcode, IKMethod met) { Append(Instruction.Create(opcode, met)); }
public void Emit(IKVM.Reflection.Emit.OpCode opcode, FieldInfo field) => generator.Emit(opcode, field);
public void Emit(OpCode opcode, IKCtor ctor) { Append(Instruction.Create(opcode, ctor)); }
public void Emit(IKVM.Reflection.Emit.OpCode opcode, ConstructorInfo con) => generator.Emit(opcode, con);
public bool Equals(OpCode other) { return this == other; }