|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.common.BootImageCompiler
public abstract class BootImageCompiler
Abstract superclass to interface bootimage compiler to the rest of the VM. Individual compilers provide concrete implementations, one of which is instantiated by BootImageCompiler.init.
Field Summary | |
---|---|
protected static BootImageCompiler |
baseCompiler
|
protected static BootImageCompiler |
compiler
|
protected static BootImageCompiler |
optCompiler
|
Constructor Summary | |
---|---|
BootImageCompiler()
|
Method Summary | |
---|---|
static CompiledMethod |
compile(NativeMethod method)
Compile a native method. |
static CompiledMethod |
compile(NormalMethod method)
|
static CompiledMethod |
compile(NormalMethod method,
TypeReference[] params)
|
protected abstract CompiledMethod |
compileMethod(NormalMethod method,
TypeReference[] params)
Compile a method with bytecodes. |
static void |
init(String[] args)
Initialize boot image compiler. |
protected abstract void |
initCompiler(String[] args)
Initialize boot image compiler. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static BootImageCompiler baseCompiler
protected static BootImageCompiler optCompiler
protected static BootImageCompiler compiler
Constructor Detail |
---|
public BootImageCompiler()
Method Detail |
---|
protected abstract void initCompiler(String[] args)
args
- command line arguments to the bootimage compilerprotected abstract CompiledMethod compileMethod(NormalMethod method, TypeReference[] params)
method
- the method to compile
public static void init(String[] args)
args
- command line arguments to the bootimage compilerpublic static CompiledMethod compile(NormalMethod method, TypeReference[] params)
public static CompiledMethod compile(NormalMethod method)
public static CompiledMethod compile(NativeMethod method)
method
- the method to compile
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |