* exceptions-x86.c (mono_arch_find_jit_info): Fix stack unwinding when an
exception happens while compiling a virtual method.
svn path=/trunk/mono/; revision=94418
+2008-01-30 Zoltan Varga <vargaz@gmail.com>
+
+ * exceptions-x86.c (mono_arch_find_jit_info): Fix stack unwinding when an
+ exception happens while compiling a virtual method.
+
2008-01-29 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c (mono_arch_emit_epilog): Fix folding of negative return values.
/* Pop arguments off the stack */
/* FIXME: Handle the delegate case too ((*lmf)->method == NULL) */
- if ((*lmf)->method) {
+ /* FIXME: Handle the IMT/vtable case too */
+ if ((*lmf)->method && (*lmf)->method != MONO_FAKE_IMT_METHOD && (*lmf)->method != MONO_FAKE_VTABLE_METHOD) {
MonoMethod *method = (*lmf)->method;
MonoJitArgumentInfo *arg_info = g_newa (MonoJitArgumentInfo, mono_method_signature (method)->param_count + 1);