Author: zoltan Date: 2008-01-18 08:19:47 -0500 (Fri, 18 Jan 2008) New Revision: 93249
Modified: trunk/mono/mono/mini/ChangeLog trunk/mono/mono/mini/mini.c Log: 2008-01-18 Zoltan Varga <[EMAIL PROTECTED]> * mini.c (type_from_op): Calling add.ovf on floats in not valid IL code. Modified: trunk/mono/mono/mini/ChangeLog =================================================================== --- trunk/mono/mono/mini/ChangeLog 2008-01-18 12:35:06 UTC (rev 93248) +++ trunk/mono/mono/mini/ChangeLog 2008-01-18 13:19:47 UTC (rev 93249) @@ -1,3 +1,7 @@ +2008-01-18 Zoltan Varga <[EMAIL PROTECTED]> + + * mini.c (type_from_op): Calling add.ovf on floats in not valid IL code. + 2008-01-17 Zoltan Varga <[EMAIL PROTECTED]> * mini.c (mono_method_to_ir): Use the no-spilling optimization for CEE_CALLI Modified: trunk/mono/mono/mini/mini.c =================================================================== --- trunk/mono/mono/mini/mini.c 2008-01-18 12:35:06 UTC (rev 93248) +++ trunk/mono/mono/mini/mini.c 2008-01-18 13:19:47 UTC (rev 93249) @@ -1545,6 +1545,8 @@ case CEE_SUB_OVF_UN: ins->type = bin_num_table [ins->inst_i0->type] [ins->inst_i1->type]; ins->opcode += ovfops_op_map [ins->inst_i0->type]; + if (ins->type == STACK_R8) + ins->type = STACK_INV; return; default: g_error ("opcode 0x%04x not handled in type from op", ins->opcode); _______________________________________________ Mono-patches maillist - Mono-patches@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-patches