Author: lupus
Date: 2007-01-16 14:01:45 -0500 (Tue, 16 Jan 2007)
New Revision: 71165
Modified:
trunk/mono/mono/mini/ChangeLog
trunk/mono/mono/mini/exceptions-ppc.c
Log:
Tue Jan 16 20:01:01 CET 2007 Paolo Molaro <[EMAIL PROTECTED]>
* exceptions-ppc.c: execute fault handlers.
Modified: trunk/mono/mono/mini/ChangeLog
===================================================================
--- trunk/mono/mono/mini/ChangeLog 2007-01-16 18:59:19 UTC (rev 71164)
+++ trunk/mono/mono/mini/ChangeLog 2007-01-16 19:01:45 UTC (rev 71165)
@@ -1,4 +1,8 @@
+Tue Jan 16 20:01:01 CET 2007 Paolo Molaro <[EMAIL PROTECTED]>
+
+ * exceptions-ppc.c: execute fault handlers.
+
Tue Jan 16 19:54:44 CET 2007 Paolo Molaro <[EMAIL PROTECTED]>
* mini-ppc.c: handle missing call locationss with FORCE_INDIR_CALL.
Modified: trunk/mono/mono/mini/exceptions-ppc.c
===================================================================
--- trunk/mono/mono/mini/exceptions-ppc.c 2007-01-16 18:59:19 UTC (rev
71164)
+++ trunk/mono/mono/mini/exceptions-ppc.c 2007-01-16 19:01:45 UTC (rev
71165)
@@ -910,8 +910,15 @@
}
if (!test_only && ei->try_start
<= MONO_CONTEXT_GET_IP (ctx) &&
MONO_CONTEXT_GET_IP (ctx) <
ei->try_end &&
- (ei->flags &
MONO_EXCEPTION_CLAUSE_FINALLY)) {
+ (ei->flags ==
MONO_EXCEPTION_CLAUSE_FAULT)) {
if
(mono_jit_trace_calls != NULL)
+ g_print
("EXCEPTION: fault clause %d of %s\n", i, mono_method_full_name (ji->method,
TRUE));
+ call_filter (ctx,
ei->handler_start, NULL);
+ }
+ if (!test_only && ei->try_start
<= MONO_CONTEXT_GET_IP (ctx) &&
+ MONO_CONTEXT_GET_IP (ctx) <
ei->try_end &&
+ (ei->flags ==
MONO_EXCEPTION_CLAUSE_FINALLY)) {
+ if
(mono_jit_trace_calls != NULL)
g_print
("EXCEPTION: finally clause %d of %s\n", i, mono_method_full_name (ji->method,
TRUE));
call_filter (ctx,
ei->handler_start, NULL);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches