|
From: <ans...@us...> - 2007-01-08 08:28:58
|
Revision: 3053
http://jnode.svn.sourceforge.net/jnode/?rev=3053&view=rev
Author: ansari82
Date: 2007-01-08 00:28:57 -0800 (Mon, 08 Jan 2007)
Log Message:
-----------
Updated methods to call correct interface, or throw error if not implemented
Modified Paths:
--------------
branches/jikesRVM/core/src/core/com/ibm/JikesRVM/VM.java
branches/jikesRVM/core/src/core/com/ibm/JikesRVM/VM_ObjectModel.java
Modified: branches/jikesRVM/core/src/core/com/ibm/JikesRVM/VM.java
===================================================================
--- branches/jikesRVM/core/src/core/com/ibm/JikesRVM/VM.java 2007-01-08 08:26:13 UTC (rev 3052)
+++ branches/jikesRVM/core/src/core/com/ibm/JikesRVM/VM.java 2007-01-08 08:28:57 UTC (rev 3053)
@@ -97,7 +97,7 @@
static {
- instance = Vm.getVm();
+// instance = Vm.getVm();
runningVM = Vm.isRunningVm();
writingBootImage = !runningVM;
writingImage = !runningVM;
Modified: branches/jikesRVM/core/src/core/com/ibm/JikesRVM/VM_ObjectModel.java
===================================================================
--- branches/jikesRVM/core/src/core/com/ibm/JikesRVM/VM_ObjectModel.java 2007-01-08 08:26:13 UTC (rev 3052)
+++ branches/jikesRVM/core/src/core/com/ibm/JikesRVM/VM_ObjectModel.java 2007-01-08 08:28:57 UTC (rev 3053)
@@ -19,7 +19,7 @@
public class VM_ObjectModel {
public static final int slotsize = Vm.getArch().getReferenceSize();
- public static final Offset TIB_OFFSET = Offset.fromIntSignExtend(ObjectLayout.TIB_SLOT * slotsize);
+ public static final Offset TIB_OFFSET = Offset.fromIntZeroExtend(ObjectLayout.TIB_SLOT * slotsize);
public static final Offset ARRAY_LENGTH_OFFSET = Offset.fromIntZeroExtend(VmArray.LENGTH_OFFSET * slotsize);
public static final Offset ARRAY_DATA_OFFSET = Offset.fromIntZeroExtend(VmArray.DATA_OFFSET * slotsize);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|