+2009-07-27 Rodrigo Kumpera <rkumpera@novell.com>
+
+ OpCode.cs: HashCode is meant to be calculated based on Name.
+
+ OpCodeNames.cs: Fix some names.
+
+ OpCodes.cs: Fix Stelem, Constrained and Readonly specs.
+
2009-07-26 Miguel de Icaza <miguel@novell.com>
* ILGenerator.cs: Fix the exception thrown when LocalBuilders are
1 << 0 | (byte) OpCodeType.Objmodel << 8 | (byte) OperandType.InlineType << 16 | (byte) FlowControl.Next << 24);
public static readonly OpCode Stelem = new OpCode (
- 0xFF << 0 | 0xA4 << 8 | (byte) StackBehaviour.Push0 << 16 | (byte) StackBehaviour.Popref_popi_popref << 24,
+ 0xFF << 0 | 0xA4 << 8 | (byte) StackBehaviour.Push0 << 16 | (byte) StackBehaviour.Popref_popi_pop1 << 24,
1 << 0 | (byte) OpCodeType.Objmodel << 8 | (byte) OperandType.InlineType << 16 | (byte) FlowControl.Next << 24);
public static readonly OpCode Unbox_Any = new OpCode (
#if NET_2_0 || BOOTSTRAP_NET_2_0
public static readonly OpCode Constrained = new OpCode (
0xFE << 0 | 0x16 << 8 | (byte) StackBehaviour.Push0 << 16 | (byte) StackBehaviour.Pop0 << 24,
- 2 << 0 | (byte) OpCodeType.Prefix << 8 | (byte) OperandType.InlineType << 16 | (byte) FlowControl.Next << 24);
+ 2 << 0 | (byte) OpCodeType.Prefix << 8 | (byte) OperandType.InlineType << 16 | (byte) FlowControl.Meta << 24);
#endif
public static readonly OpCode Cpblk = new OpCode (
0xFE << 0 | 0x17 << 8 | (byte) StackBehaviour.Push0 << 16 | (byte) StackBehaviour.Popi_popi_popi << 24,
#if NET_2_0 || BOOTSTRAP_NET_2_0
public static readonly OpCode Readonly = new OpCode (
0xFE << 0 | 0x1E << 8 | (byte) StackBehaviour.Push0 << 16 | (byte) StackBehaviour.Pop0 << 24,
- 2 << 0 | (byte) OpCodeType.Primitive << 8 | (byte) OperandType.InlineNone << 16 | (byte) FlowControl.Next << 24);
+ 2 << 0 | (byte) OpCodeType.Prefix << 8 | (byte) OperandType.InlineNone << 16 | (byte) FlowControl.Meta << 24);
#endif
public static bool TakesSingleByteArgument (OpCode inst)