org.jikesrvm.ia32
Class MachineCode

java.lang.Object
  extended by 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
 
Constructor Summary
MachineCode(ArchitectureSpecific.CodeArray i, int[] bm)
           
 
Method Summary
 int[] getBytecodeMap()
           
 ArchitectureSpecific.CodeArray getInstructions()
           
 void setBytecodeMap(int[] b2m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.

Constructor Detail

MachineCode

public MachineCode(ArchitectureSpecific.CodeArray i,
                   int[] bm)
Method Detail

getInstructions

public final ArchitectureSpecific.CodeArray getInstructions()

getBytecodeMap

public final int[] getBytecodeMap()

setBytecodeMap

public void setBytecodeMap(int[] b2m)