blob: 183ad603c1e7fff9455ef6fee90194a61cc22a55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
$NetBSD: patch-ab,v 1.8 2005/03/27 10:33:08 recht Exp $
--- mono/mini/exceptions-ppc.c.orig Sat Jan 29 07:13:05 2005
+++ mono/mini/exceptions-ppc.c
@@ -199,6 +199,7 @@ arch_get_restore_context (void)
ppc_break (code);
g_assert ((code - start) < sizeof(start));
+ mono_arch_flush_icache (start, code - start);
return start;
}
@@ -268,6 +269,7 @@ arch_get_call_filter (void)
ppc_blr (code);
g_assert ((code - start) < sizeof(start));
+ mono_arch_flush_icache (start, code - start);
return start;
}
@@ -371,6 +373,7 @@ mono_arch_get_throw_exception_generic (g
/* we should never reach this breakpoint */
ppc_break (code);
g_assert ((code - start) < size);
+ mono_arch_flush_icache (start, code - start);
return start;
}
|