public final class InlineSequence extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsMethod(RVMMethod m) |
Enumeration<InlineSequence> |
enumerateFromRoot() |
boolean |
equals(Object obj) |
InlineSequence |
getCaller() |
Instruction |
getCallSite() |
int |
getInlineDepth() |
NormalMethod |
getMethod() |
NormalMethod |
getRootMethod() |
int |
hashCode() |
String |
toString()
Returns the string representation of this inline sequence.
|
public final NormalMethod method
public final InlineSequence caller
null
if none.public int bcIndex
final Instruction callSite
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 calleepublic NormalMethod getMethod()
method
public InlineSequence getCaller()
caller
public Instruction getCallSite()
public int getInlineDepth()
public NormalMethod getRootMethod()
public boolean containsMethod(RVMMethod m)
m
- the method to search forpublic Enumeration<InlineSequence> enumerateFromRoot()