* decompose.c (mono_decompose_opcode): Handle OP_LCONV_TO_OVF_I8. Fixes
#581950.
* iltests.il.in: Add a test.
svn path=/trunk/mono/; revision=152213
+2010-02-22 Zoltan Varga <vargaz@gmail.com>
+
+ * decompose.c (mono_decompose_opcode): Handle OP_LCONV_TO_OVF_I8. Fixes
+ #581950.
+
+ * iltests.il.in: Add a test.
+
2010-02-22 Rodrigo Kumpera <rkumpera@novell.com>
* mini.c (mono_method_check_inlining): Use !mono_method_get_header_summary
case OP_LCONV_TO_OVF_I:
case OP_LCONV_TO_OVF_U_UN:
case OP_LCONV_TO_OVF_U8_UN:
+ case OP_LCONV_TO_OVF_I8:
ins->opcode = OP_MOVE;
break;
case OP_LCONV_TO_OVF_I_UN:
ret
}
+ .method public static int32 test_0_lconv_to_ovf_i8 () cil managed {
+ .maxstack 16
+
+ ldc.i4 1234
+ conv.i8
+ conv.ovf.i8
+ conv.i4
+ ldc.i4 1234
+ beq L1
+ ldc.i4.1
+ ret
+ L1:
+ ldc.i4.0
+ ret
+ }
+
.method public static int32 test_0_lconv_to_ovf_u8_un () cil managed {
.maxstack 16