From 6c1b826d8ac73ad80f1ed9d273a4f53efa3017c1 Mon Sep 17 00:00:00 2001 From: tbfg Date: Thu, 10 May 2007 12:50:45 +0000 Subject: [PATCH] * src/vm/jit/powerpc64/patcher.c (patcher_checkcast_interface): Fixed not flushing all bytes written. --- src/vm/jit/powerpc64/patcher.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vm/jit/powerpc64/patcher.c b/src/vm/jit/powerpc64/patcher.c index 831c076d0..d568517df 100644 --- a/src/vm/jit/powerpc64/patcher.c +++ b/src/vm/jit/powerpc64/patcher.c @@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - $Id: patcher.c 7694 2007-04-12 15:35:13Z tbfg $ + $Id: patcher.c 7892 2007-05-10 12:50:45Z tbfg $ */ @@ -666,7 +666,7 @@ bool patcher_checkcast_interface(u1 *sp) *((s4 *)(ra + 5*4)) |= (disp & 0x0000ffff); /* sync instruction cache */ - md_icacheflush(ra, 5*4); + md_icacheflush(ra, 6*4); return true; } -- 2.25.1