public class DelegatingSSAContextInterpreter extends DelegatingRTAContextInterpreter implements SSAContextInterpreter
SSAContextInterpreter that first checks with A, then defaults to B.| Constructor and Description |
|---|
DelegatingSSAContextInterpreter(SSAContextInterpreter A,
SSAContextInterpreter B)
neither A nor B should be null.
|
| Modifier and Type | Method and Description |
|---|---|
ControlFlowGraph<SSAInstruction,ISSABasicBlock> |
getCFG(CGNode node) |
DefUse |
getDU(CGNode node) |
IR |
getIR(CGNode node) |
IRView |
getIRView(CGNode node) |
int |
getNumberOfStatements(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.
|
iterateCallSites, iterateFieldsRead, iterateFieldsWritten, iterateNewSites, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waititerateFieldsRead, iterateFieldsWritten, iterateNewSitesiterateCallSitespublic DelegatingSSAContextInterpreter(SSAContextInterpreter A, SSAContextInterpreter B)
public IR getIR(CGNode node)
getIR in interface SSAContextInterpreterpublic IRView getIRView(CGNode node)
getIRView in interface SSAContextInterpreterpublic int getNumberOfStatements(CGNode node)
getNumberOfStatements in interface SSAContextInterpreterpublic boolean understands(CGNode node)
CHAContextInterpreterunderstands in interface CHAContextInterpreterunderstands in class DelegatingRTAContextInterpreterpublic boolean recordFactoryType(CGNode node, IClass klass)
RTAContextInterpreterTODO: this is a little ugly, is there a better place to move this?
recordFactoryType in interface RTAContextInterpreterrecordFactoryType in class DelegatingRTAContextInterpreterpublic ControlFlowGraph<SSAInstruction,ISSABasicBlock> getCFG(CGNode node)
getCFG in interface SSAContextInterpreterpublic DefUse getDU(CGNode node)
getDU in interface SSAContextInterpreter