public static class MethodHandles.ContextInterpreterImpl extends Object implements SSAContextInterpreter
Constructor and Description |
---|
ContextInterpreterImpl() |
Modifier and Type | Method and Description |
---|---|
ControlFlowGraph<SSAInstruction,ISSABasicBlock> |
getCFG(CGNode n) |
DefUse |
getDU(CGNode node) |
IR |
getIR(CGNode node) |
int |
getNumberOfStatements(CGNode node) |
Iterator<CallSiteReference> |
iterateCallSites(CGNode node) |
Iterator<FieldReference> |
iterateFields(CGNode node,
Predicate<SSAInstruction> filter) |
Iterator<FieldReference> |
iterateFieldsRead(CGNode node) |
Iterator<FieldReference> |
iterateFieldsWritten(CGNode node) |
Iterator<NewSiteReference> |
iterateNewSites(CGNode node) |
boolean |
recordFactoryType(CGNode node,
IClass klass)
record that the "factory" method of a node should be interpreted to allocate a particular class.
|
boolean |
understands(CGNode node)
Does this object understand the given method? The caller had better check this before inquiring on other properties.
|
public Iterator<NewSiteReference> iterateNewSites(CGNode node)
iterateNewSites
in interface RTAContextInterpreter
public Iterator<FieldReference> iterateFields(CGNode node, Predicate<SSAInstruction> filter)
public Iterator<FieldReference> iterateFieldsRead(CGNode node)
iterateFieldsRead
in interface RTAContextInterpreter
public Iterator<FieldReference> iterateFieldsWritten(CGNode node)
iterateFieldsWritten
in interface RTAContextInterpreter
public boolean recordFactoryType(CGNode node, IClass klass)
RTAContextInterpreter
recordFactoryType
in interface RTAContextInterpreter
public boolean understands(CGNode node)
CHAContextInterpreter
understands
in interface CHAContextInterpreter
public Iterator<CallSiteReference> iterateCallSites(CGNode node)
iterateCallSites
in interface CHAContextInterpreter
public IR getIR(CGNode node)
getIR
in interface SSAContextInterpreter
public DefUse getDU(CGNode node)
getDU
in interface SSAContextInterpreter
public int getNumberOfStatements(CGNode node)
getNumberOfStatements
in interface SSAContextInterpreter
public ControlFlowGraph<SSAInstruction,ISSABasicBlock> getCFG(CGNode n)
getCFG
in interface SSAContextInterpreter