public interface TruffleInliningData
| Modifier and Type | Method and Description |
|---|---|
void |
addInlinedTarget(CompilableTruffleAST target)
To be used from the compiler side.
|
void |
addTargetToDequeue(CompilableTruffleAST target)
Records the given target to be dequed from the compilation queue at the end of the current
compilation.
|
int |
countInlinedCalls() |
TruffleCallNode |
findCallNode(JavaConstant callNode)
Gets the runtime representation of the call node constant.
|
TruffleSourceLanguagePosition |
getPosition(JavaConstant node)
If
node represents an AST Node then return the nearest source information for it. |
void |
setCallCounts(int total,
int inlined)
To be used from the compiler side.
|
TruffleCallNode findCallNode(JavaConstant callNode)
TruffleSourceLanguagePosition getPosition(JavaConstant node)
node represents an AST Node then return the nearest source information for it.
Otherwise simply return null.void addTargetToDequeue(CompilableTruffleAST target)
void setCallCounts(int total,
int inlined)
int countInlinedCalls()
void addInlinedTarget(CompilableTruffleAST target)
target - register this target as inlined.