org.jikesrvm.ia32
Class MachineCode
java.lang.Object
org.jikesrvm.ia32.MachineCode
- Direct Known Subclasses:
- ArchitectureSpecific.MachineCode
public abstract class MachineCode
- extends Object
Representation of machine code instructions and a map from bytecode
index to offset within code array
Field Summary |
private int[] |
bytecodeMap
Array indexed by bytecode index, value is offset into code array
TODO: This should really be a final field, but is not due to the way
OSR is currently implemented. |
private ArchitectureSpecific.CodeArray |
instructions
Executable instructions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instructions
private final ArchitectureSpecific.CodeArray instructions
- Executable instructions
bytecodeMap
private int[] bytecodeMap
- Array indexed by bytecode index, value is offset into code array
TODO: This should really be a final field, but is not due to the way
OSR is currently implemented.
MachineCode
public MachineCode(ArchitectureSpecific.CodeArray i,
int[] bm)
getInstructions
public final ArchitectureSpecific.CodeArray getInstructions()
getBytecodeMap
public final int[] getBytecodeMap()
setBytecodeMap
public void setBytecodeMap(int[] b2m)