|
Message
From: cvs at opencores.org<cvs@o...>
Date: Mon Jun 4 13:42:31 CEST 2007
Subject: [cvs-checkins] MODIFIED: jop ...
Date: 00/07/06 04:13:42 Modified: jop/java/target/src/jdk_base/java/lang System.java Log: use GC constants in arraycopy Revision Changes Path 1.5 jop/java/target/src/jdk_base/java/lang/System.java http://www.opencores.org/cvsweb.shtml/jop/java/target/src/jdk_base/java/lang/System.java.diff?r1=1.4&r2=1.5 (In the diff below, changes in quantity of whitespace are not shown.) Index: System.java =================================================================== RCS file: /cvsroot/martin/jop/java/target/src/jdk_base/java/lang/System.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -b -r1.4 -r1.5 --- System.java 4 Nov 2006 23:28:01 -0000 1.4 +++ System.java 4 Jun 2007 11:42:31 -0000 1.5 @@ -52,8 +52,8 @@ int dstHandle = Native.toInt(dst); // the type field from the handle - see GC.java - int src_type = Native.rdMem(srcHandle+3); - int dst_type = Native.rdMem(dstHandle+3); + int src_type = Native.rdMem(srcHandle+GC.OFF_TYPE); + int dst_type = Native.rdMem(dstHandle+GC.OFF_TYPE); // 0 means it's a plain object if (src_type==0 || dst_type==0) {
|