Author: jbevain
Date: 2007-06-19 10:36:17 -0400 (Tue, 19 Jun 2007)
New Revision: 80158
Modified:
trunk/cecil/lib/ChangeLog
trunk/cecil/lib/CodeGen/cecil.xml
trunk/cecil/lib/Mono.Cecil.Cil/OpCodes.cs
Log:
2007-06-19 Jb Evain <[EMAIL PROTECTED]>
* Mono.Cecil.Cil/OpCodes.cs:
CodeGen/cecil.xml:
leave.s is a macro instruction.
Modified: trunk/cecil/lib/ChangeLog
===================================================================
--- trunk/cecil/lib/ChangeLog 2007-06-19 14:15:55 UTC (rev 80157)
+++ trunk/cecil/lib/ChangeLog 2007-06-19 14:36:17 UTC (rev 80158)
@@ -1,5 +1,9 @@
2007-06-19 Jb Evain <[EMAIL PROTECTED]>
+ * Mono.Cecil.Cil/OpCodes.cs:
+ CodeGen/cecil.xml:
+ leave.s is a macro instruction.
+
* Mono.Cecil/TypeDefinition.cs
Mono.Cecil/ParameterDefinition.cs:
Fix cloning.
Modified: trunk/cecil/lib/CodeGen/cecil.xml
===================================================================
--- trunk/cecil/lib/CodeGen/cecil.xml 2007-06-19 14:15:55 UTC (rev 80157)
+++ trunk/cecil/lib/CodeGen/cecil.xml 2007-06-19 14:36:17 UTC (rev 80158)
@@ -534,7 +534,7 @@
<opcode name="sub.ovf.un" op1="0xff" op2="0xdb"
flowcontrol="Next" opcodetype="Primitive" operandtype="InlineNone"
stackbehaviourpop="Pop1_pop1" stackbehaviourpush="Push1" />
<opcode name="endfinally" op1="0xff" op2="0xdc"
flowcontrol="Return" opcodetype="Primitive" operandtype="InlineNone"
stackbehaviourpop="Pop0" stackbehaviourpush="Push0" />
<opcode name="leave" op1="0xff" op2="0xdd"
flowcontrol="Branch" opcodetype="Primitive" operandtype="InlineBrTarget"
stackbehaviourpop="PopAll" stackbehaviourpush="Push0" />
- <opcode name="leave.s" op1="0xff" op2="0xde"
flowcontrol="Branch" opcodetype="Primitive" operandtype="ShortInlineBrTarget"
stackbehaviourpop="PopAll" stackbehaviourpush="Push0" />
+ <opcode name="leave.s" op1="0xff" op2="0xde"
flowcontrol="Branch" opcodetype="Macro" operandtype="ShortInlineBrTarget"
stackbehaviourpop="PopAll" stackbehaviourpush="Push0" />
<opcode name="stind.i" op1="0xff" op2="0xdf"
flowcontrol="Next" opcodetype="Primitive" operandtype="InlineNone"
stackbehaviourpop="Popi_popi" stackbehaviourpush="Push0" />
<opcode name="conv.u" op1="0xff" op2="0xe0"
flowcontrol="Next" opcodetype="Primitive" operandtype="InlineNone"
stackbehaviourpop="Pop1" stackbehaviourpush="Pushi" />
<opcode name="arglist" op1="0xfe" op2="0x00"
flowcontrol="Next" opcodetype="Primitive" operandtype="InlineNone"
stackbehaviourpop="Pop0" stackbehaviourpush="Pushi" />
Modified: trunk/cecil/lib/Mono.Cecil.Cil/OpCodes.cs
===================================================================
--- trunk/cecil/lib/Mono.Cecil.Cil/OpCodes.cs 2007-06-19 14:15:55 UTC (rev
80157)
+++ trunk/cecil/lib/Mono.Cecil.Cil/OpCodes.cs 2007-06-19 14:36:17 UTC (rev
80158)
@@ -1167,7 +1167,7 @@
public static readonly OpCode Leave_S = new OpCode (
"leave.s", 0xff, 0xde, 1,
Code.Leave_S, FlowControl.Branch,
- OpCodeType.Primitive, OperandType.ShortInlineBrTarget,
+ OpCodeType.Macro, OperandType.ShortInlineBrTarget,
StackBehaviour.PopAll, StackBehaviour.Push0);
public static readonly OpCode Stind_I = new OpCode (
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches