All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.OpenJIT.Compile

org.OpenJIT.Compile

public abstract class Compile
implements Constants

Variable Index

 o access
 o args_size
 o attribute
 o bcinfo
 o bytecode
 o bytecode_length
 o code_area
 o constantpool
 o exceptionHandler
 o inline_maxinsns
 o maxstack
 o methodblock
 o native_pc
 o nlocals

Constructor Index

 o Compile()

Method Index

 o className()
 o compile()
 o ConstantPoolAccess(int)
 o ConstantPoolAddress(int)
 o ConstantPoolClass(int)
 o ConstantPoolFieldAddress(int)
 o ConstantPoolFieldDescriptor(int)
 o ConstantPoolFieldOffset(int)
 o ConstantPoolMethodDescriptor(int)
 o ConstantPoolName(int)
 o ConstantPoolType(int)
 o ConstantPoolTypeResolved(int)
 o ConstantPoolValue(int)
 o createParser(int)
 o genCode(int)
 o getNativeCode(int)
 o initParser(int, int)
 o methodName()
 o NativeCodeAlloc(int)
 o NativeCodeReAlloc(int)
 o opcName(int)
 o parseOnly()
 o pc2signedchar(int)
 o pc2signedlong(int)
 o pc2signedshort(int)
 o pc2uchar(int)
 o pc2ushort(int)
 o resolveClass(int)
 o setNativeCode(int, int)
 o signatureName()
 o toString()

Variables

 o methodblock
 protected int methodblock
 o constantpool
 protected int constantpool
 o bytecode
 public byte bytecode[]
 o bytecode_length
 public int bytecode_length
 o exceptionHandler
 public ExceptionHandler exceptionHandler[]
 o attribute
 public byte attribute[]
 o access
 protected int access
 o nlocals
 protected int nlocals
 o maxstack
 protected int maxstack
 o args_size
 protected int args_size
 o bcinfo
 protected BCinfo bcinfo[]
 o code_area
 protected int code_area
 o native_pc
 protected int native_pc
 o inline_maxinsns
 protected int inline_maxinsns

Constructors

 o Compile
 public Compile()

Methods

 o initParser
 public final native void initParser(int caller_cp,
                                     int index)
 o resolveClass
 public final native void resolveClass(int index)
 o createParser
 public Compile createParser(int index) throws IllegalAccessException, InstantiationException
 o parseOnly
 public boolean parseOnly()
 o compile
 public boolean compile()
 o pc2uchar
 public final int pc2uchar(int pc)
 o pc2signedchar
 public final int pc2signedchar(int pc)
 o pc2signedshort
 public final int pc2signedshort(int pc)
 o pc2signedlong
 public final int pc2signedlong(int pc)
 o pc2ushort
 public final int pc2ushort(int pc)
 o ConstantPoolValue
 public final native int ConstantPoolValue(int index)
 o ConstantPoolAddress
 public final int ConstantPoolAddress(int index)
 o ConstantPoolType
 public final int ConstantPoolType(int index)
Parameters:
index - the index of constantpool.
Returns:
a type of constantpool.
Throws: CompilerError
if the index is out of boundary.
 o ConstantPoolTypeResolved
 public final boolean ConstantPoolTypeResolved(int index)
Parameters:
index - the index of constantpool.
Returns:
true if this index is resolved already.
Throws: CompilerError
if the index is out of boundary.
 o ConstantPoolClass
 public final String ConstantPoolClass(int index)
Parameters:
index - the index of constantpool.
Returns:
a Class name of index
Throws: CompilerError
if the index is out of boundary.
 o ConstantPoolName
 public final String ConstantPoolName(int index)
Parameters:
index - the index of constantpool.
Returns:
a method name or or field name.
Throws: CompilerError
if the index is out of boundary.
 o ConstantPoolAccess
 public final native int ConstantPoolAccess(int index)
Parameters:
index - the index of constantpool.
Returns:
the access bits for this entry of the constantpool (if field or method descriptor).
Throws: CompilerError
if the index is out of boundary.
 o ConstantPoolMethodDescriptor
 public final native byte[] ConstantPoolMethodDescriptor(int index)
Parameters:
index - the index of constantpool.
Returns:
a method signature
Throws: CompilerError
if the index is out of boundary.
 o ConstantPoolFieldDescriptor
 public final native byte ConstantPoolFieldDescriptor(int index)
Parameters:
index - the index of constantpool.
Returns:
a field type.
Throws: CompilerError
if the index is out of boundary.
See Also:
ConstantPoolMethodDescriptor
 o ConstantPoolFieldOffset
 public final native int ConstantPoolFieldOffset(int index)
Parameters:
index - the index of constantpool.
Returns:
a offset of field.
Throws: CompilerError
if the index is out of boundary.
 o ConstantPoolFieldAddress
 public final native int ConstantPoolFieldAddress(int index)
Parameters:
index - the index of constantpool.
Returns:
an absolute location of the static value.
Throws: CompilerError
if the index is out of boundary.
 o NativeCodeAlloc
 public final native void NativeCodeAlloc(int size)
 o NativeCodeReAlloc
 public final native int NativeCodeReAlloc(int size)
 o genCode
 public final void genCode(int code)
 o setNativeCode
 public final native void setNativeCode(int pc,
                                        int code)
 o getNativeCode
 public final native int getNativeCode(int pc)
 o methodName
 public final String methodName()
 o className
 public final String className()
 o signatureName
 public final String signatureName()
 o toString
 public final String toString()
 o opcName
 public final String opcName(int pc)

All Packages  Class Hierarchy  This Package  Previous  Next  Index