public final class TruffleInliningDecision extends TruffleInlining implements Comparable<TruffleInliningDecision>
TruffleInlining.CallTreeNodeVisitor
Modifier and Type | Field and Description |
---|---|
private boolean |
inline |
private TruffleInliningProfile |
profile |
private OptimizedCallTarget |
target |
Constructor and Description |
---|
TruffleInliningDecision(OptimizedCallTarget target,
TruffleInliningProfile profile,
List<TruffleInliningDecision> children) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TruffleInliningDecision o) |
TruffleInliningProfile |
getProfile() |
OptimizedCallTarget |
getTarget() |
boolean |
isInline() |
boolean |
isSameAs(TruffleInliningDecision other) |
(package private) void |
setInline(boolean inline) |
String |
toString() |
accept, countCalls, countInlinedCalls, findByCall, getCallSites, getInlinedNodeCount, iterator, makeNodeIterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
private final OptimizedCallTarget target
private final TruffleInliningProfile profile
private boolean inline
public TruffleInliningDecision(OptimizedCallTarget target, TruffleInliningProfile profile, List<TruffleInliningDecision> children)
public OptimizedCallTarget getTarget()
void setInline(boolean inline)
public boolean isInline()
public TruffleInliningProfile getProfile()
public int compareTo(TruffleInliningDecision o)
compareTo
in interface Comparable<TruffleInliningDecision>
public boolean isSameAs(TruffleInliningDecision other)