Author: zoltan
Date: 2008-01-30 15:58:49 -0500 (Wed, 30 Jan 2008)
New Revision: 94419
Modified:
branches/mono-1-9/mono/mono/mini/ChangeLog
branches/mono-1-9/mono/mono/mini/exceptions-x86.c
Log:
2008-01-30 Zoltan Varga <[EMAIL PROTECTED]>
* exceptions-x86.c (mono_arch_find_jit_info): Fix stack unwinding when
an
exception happens while compiling a virtual method.
Modified: branches/mono-1-9/mono/mono/mini/ChangeLog
===================================================================
--- branches/mono-1-9/mono/mono/mini/ChangeLog 2008-01-30 20:47:52 UTC (rev
94418)
+++ branches/mono-1-9/mono/mono/mini/ChangeLog 2008-01-30 20:58:49 UTC (rev
94419)
@@ -1,3 +1,8 @@
+2008-01-30 Zoltan Varga <[EMAIL PROTECTED]>
+
+ * exceptions-x86.c (mono_arch_find_jit_info): Fix stack unwinding when
an
+ exception happens while compiling a virtual method.
+
2008-01-27 Zoltan Varga <[EMAIL PROTECTED]>
* mini-exceptions.c (mono_handle_exception_internal): Remove the old
style
Modified: branches/mono-1-9/mono/mono/mini/exceptions-x86.c
===================================================================
--- branches/mono-1-9/mono/mono/mini/exceptions-x86.c 2008-01-30 20:47:52 UTC
(rev 94418)
+++ branches/mono-1-9/mono/mono/mini/exceptions-x86.c 2008-01-30 20:58:49 UTC
(rev 94419)
@@ -669,7 +669,8 @@
/* 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);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches