* src/vm/jit/powerpc64/patcher.c (patcher_checkcast_interface):
authortbfg <none@none>
Thu, 10 May 2007 12:50:45 +0000 (12:50 +0000)
committertbfg <none@none>
Thu, 10 May 2007 12:50:45 +0000 (12:50 +0000)
Fixed not flushing all bytes written.

src/vm/jit/powerpc64/patcher.c

index 831c076d0e49b19f7b5419ee2656aab9ccf5a12b..d568517df443feddca90a7f708ee281b124e5338 100644 (file)
@@ -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;
 }