Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ikvmc
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2011-06-26 10:29:43 +0400
committerjfrijters <jfrijters>2011-06-26 10:29:43 +0400
commitc22d76dace63889581b042af5c66c8b0a614fa6a (patch)
tree9374a377166d5a4d49174e263219389f568ec7e7 /ikvmc
parent87d67d3f8e64cb0d84a3f906cb814bd7423d0e7e (diff)
Added ldarg_s opcode.
Diffstat (limited to 'ikvmc')
-rw-r--r--ikvmc/remapper.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/ikvmc/remapper.cs b/ikvmc/remapper.cs
index 10ceca11..e121e66f 100644
--- a/ikvmc/remapper.cs
+++ b/ikvmc/remapper.cs
@@ -630,6 +630,18 @@ namespace IKVM.Internal.MapXml
}
}
+ [XmlType("ldarg_s")]
+ public sealed class LdArg_S : Instruction
+ {
+ [XmlAttribute("argNum")]
+ public byte ArgNum;
+
+ internal override void Generate(CodeGenContext context, CodeEmitter ilgen)
+ {
+ ilgen.Emit(OpCodes.Ldarg_S, ArgNum);
+ }
+ }
+
[XmlType("ldarg_0")]
public sealed class LdArg_0 : Simple
{
@@ -1227,6 +1239,7 @@ namespace IKVM.Internal.MapXml
[XmlElement(typeof(StLoc))]
[XmlElement(typeof(LdLoc))]
[XmlElement(typeof(LdArga))]
+ [XmlElement(typeof(LdArg_S))]
[XmlElement(typeof(LdArg_0))]
[XmlElement(typeof(LdArg_1))]
[XmlElement(typeof(LdArg_2))]