All Packages Class Hierarchy This Package Previous Next Index
Class org.OpenJIT.Compile
org.OpenJIT.Compile
- public abstract class Compile
- implements Constants
-
access
-
-
args_size
-
-
attribute
-
-
bcinfo
-
-
bytecode
-
-
bytecode_length
-
-
code_area
-
-
constantpool
-
-
exceptionHandler
-
-
inline_maxinsns
-
-
maxstack
-
-
methodblock
-
-
native_pc
-
-
nlocals
-
-
Compile()
-
-
className()
-
-
compile()
-
-
ConstantPoolAccess(int)
-
-
ConstantPoolAddress(int)
-
-
ConstantPoolClass(int)
-
-
ConstantPoolFieldAddress(int)
-
-
ConstantPoolFieldDescriptor(int)
-
-
ConstantPoolFieldOffset(int)
-
-
ConstantPoolMethodDescriptor(int)
-
-
ConstantPoolName(int)
-
-
ConstantPoolType(int)
-
-
ConstantPoolTypeResolved(int)
-
-
ConstantPoolValue(int)
-
-
createParser(int)
-
-
genCode(int)
-
-
getNativeCode(int)
-
-
initParser(int, int)
-
-
methodName()
-
-
NativeCodeAlloc(int)
-
-
NativeCodeReAlloc(int)
-
-
opcName(int)
-
-
parseOnly()
-
-
pc2signedchar(int)
-
-
pc2signedlong(int)
-
-
pc2signedshort(int)
-
-
pc2uchar(int)
-
-
pc2ushort(int)
-
-
resolveClass(int)
-
-
setNativeCode(int, int)
-
-
signatureName()
-
-
toString()
-
methodblock
protected int methodblock
constantpool
protected int constantpool
bytecode
public byte bytecode[]
bytecode_length
public int bytecode_length
exceptionHandler
public ExceptionHandler exceptionHandler[]
attribute
public byte attribute[]
access
protected int access
nlocals
protected int nlocals
maxstack
protected int maxstack
args_size
protected int args_size
bcinfo
protected BCinfo bcinfo[]
code_area
protected int code_area
native_pc
protected int native_pc
inline_maxinsns
protected int inline_maxinsns
Compile
public Compile()
initParser
public final native void initParser(int caller_cp,
int index)
resolveClass
public final native void resolveClass(int index)
createParser
public Compile createParser(int index) throws IllegalAccessException, InstantiationException
parseOnly
public boolean parseOnly()
compile
public boolean compile()
pc2uchar
public final int pc2uchar(int pc)
pc2signedchar
public final int pc2signedchar(int pc)
pc2signedshort
public final int pc2signedshort(int pc)
pc2signedlong
public final int pc2signedlong(int pc)
pc2ushort
public final int pc2ushort(int pc)
ConstantPoolValue
public final native int ConstantPoolValue(int index)
ConstantPoolAddress
public final int ConstantPoolAddress(int index)
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.
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.
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.
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.
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.
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.
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
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.
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.
NativeCodeAlloc
public final native void NativeCodeAlloc(int size)
NativeCodeReAlloc
public final native int NativeCodeReAlloc(int size)
genCode
public final void genCode(int code)
setNativeCode
public final native void setNativeCode(int pc,
int code)
getNativeCode
public final native int getNativeCode(int pc)
methodName
public final String methodName()
className
public final String className()
signatureName
public final String signatureName()
toString
public final String toString()
opcName
public final String opcName(int pc)
All Packages Class Hierarchy This Package Previous Next Index