diff options
Diffstat (limited to 'mcs/ilasm/codegen/SimpInstr.cs')
-rw-r--r-- | mcs/ilasm/codegen/SimpInstr.cs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/mcs/ilasm/codegen/SimpInstr.cs b/mcs/ilasm/codegen/SimpInstr.cs new file mode 100644 index 00000000000..026a1079069 --- /dev/null +++ b/mcs/ilasm/codegen/SimpInstr.cs @@ -0,0 +1,34 @@ +// +// Mono.ILASM.SimpInstr +// +// Author(s): +// Jackson Harper (Jackson@LatitudeGeo.com) +// +// (C) 2003 Jackson Harper, All rights reserved +// + + +using System; + +namespace Mono.ILASM { + + public class SimpInstr : IInstr { + + private PEAPI.Op op; + + public SimpInstr (PEAPI.Op op, Location loc) + : base (loc) + { + this.op = op; + } + + public override void Emit (CodeGen code_gen, MethodDef meth, + PEAPI.CILInstructions cil) + { + cil.Inst (op); + } + + } + +} + |