* exceptions-x86.c (mono_x86_throw_corlib_exception): Negate the decrement of
the ip done by throw_exception (), it is not needed for corlib exceptions.
svn path=/trunk/mono/; revision=159101
+2010-06-17 Zoltan Varga <vargaz@gmail.com>
+
+ * exceptions-x86.c (mono_x86_throw_corlib_exception): Negate the decrement of
+ the ip done by throw_exception (), it is not needed for corlib exceptions.
+
2010-06-17 Rodrigo Kumpera <rkumpera@novell.com>
* method-to-ir.c (mono_emit_wb_aware_memcpy): Simplify this function.
eip -= pc_offset;
+ /* Negate the ip adjustment done in mono_x86_throw_exception () */
+ eip += 1;
+
mono_x86_throw_exception (regs, (MonoObject*)ex, eip, FALSE);
}