|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.inlining.CompilationState
public final class CompilationState
This class holds miscellaneous information regarding the state of a compilation
Field Summary | |
---|---|
private Instruction |
call
|
private CompiledMethod |
cm
|
private boolean |
isExtant
|
private OptOptions |
options
|
private int |
realBCI
|
Constructor Summary | |
---|---|
CompilationState(Instruction call,
boolean isExtant,
OptOptions options,
CompiledMethod cm,
int realBCI)
|
Method Summary | |
---|---|
Instruction |
getCallInstruction()
Return the call instruction being considered for inlining |
CompiledMethod |
getCompiledMethod()
Return the compiled method |
boolean |
getHasPreciseTarget()
Return whether or not the target is precise (ie needs no guard) |
int |
getInlineDepth()
Return the depth of inlining so far. |
boolean |
getIsExtant()
Return whether or not the receiving object is extant |
NormalMethod |
getMethod()
Return the method being compiled |
OptOptions |
getOptions()
Return the controlling compiler options |
int |
getRealBytecodeIndex()
Return the real bytecode index associated with this call |
NormalMethod |
getRootMethod()
Return the root method of the compilation |
InlineSequence |
getSequence()
Return the inlining sequence |
boolean |
isInvokeInterface()
Does this state represent an invokeinterface call? |
RVMMethod |
obtainTarget()
Obtain the target method from the compilation state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Instruction call
private final boolean isExtant
private final OptOptions options
private final CompiledMethod cm
private final int realBCI
Constructor Detail |
---|
public CompilationState(Instruction call, boolean isExtant, OptOptions options, CompiledMethod cm, int realBCI)
call
- the call instruction being considered for inlining.isExtant
- is the receiver of a virtual call an extant object?options
- controlling compiler optionscm
- compiled method of the IR object being compiledrealBCI
- the real bytecode index of the call instruction, not adjusted because of OSRMethod Detail |
---|
public boolean isInvokeInterface()
true
if it is an interface call
or false
if it is not.public int getInlineDepth()
public Instruction getCallInstruction()
public RVMMethod obtainTarget()
public OptOptions getOptions()
public boolean getIsExtant()
public boolean getHasPreciseTarget()
public NormalMethod getRootMethod()
public NormalMethod getMethod()
public int getRealBytecodeIndex()
public InlineSequence getSequence()
public CompiledMethod getCompiledMethod()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |