|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.inlining.InlineSequence
public final class InlineSequence
Represents an inlining sequence. Used to uniquely identify program locations.
Field Summary | |
---|---|
int |
bcIndex
bytecode index (in caller) of call site |
InlineSequence |
caller
Caller info. |
(package private) Instruction |
callSite
We need more detailed information of call site than bcIndex. |
NormalMethod |
method
Current method. |
Constructor Summary | |
---|---|
InlineSequence(NormalMethod method)
Constructs a new top-level inline sequence operand. |
|
InlineSequence(NormalMethod method,
InlineSequence caller,
Instruction callsite)
Constructs a new inline sequence operand. |
|
InlineSequence(NormalMethod method,
InlineSequence caller,
int bcIndex)
Constructs a new inline sequence operand. |
Method Summary | |
---|---|
boolean |
containsMethod(RVMMethod m)
Does this inline sequence contain a given method? |
Enumeration<InlineSequence> |
enumerateFromRoot()
|
boolean |
equals(Object obj)
|
InlineSequence |
getCaller()
|
Instruction |
getCallSite()
|
int |
getInlineDepth()
return the depth of inlining: (0 corresponds to no inlining) |
NormalMethod |
getMethod()
|
NormalMethod |
getRootMethod()
Return the root method of this inline sequence |
int |
hashCode()
|
String |
toString()
Returns the string representation of this inline sequence. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final NormalMethod method
public final InlineSequence caller
null
if none.
public int bcIndex
final Instruction callSite
Constructor Detail |
---|
public InlineSequence(NormalMethod method)
method
- current methodInlineSequence(NormalMethod method, InlineSequence caller, int bcIndex)
method
- current methodcaller
- caller infobcIndex
- bytecode index of call sitepublic InlineSequence(NormalMethod method, InlineSequence caller, Instruction callsite)
method
- current methodcaller
- caller infocallsite
- the call site instruction of this calleeMethod Detail |
---|
public NormalMethod getMethod()
method
public InlineSequence getCaller()
caller
public Instruction getCallSite()
public String toString()
toString
in class Object
public int getInlineDepth()
public NormalMethod getRootMethod()
public boolean containsMethod(RVMMethod m)
public Enumeration<InlineSequence> enumerateFromRoot()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |