public class SmushedAllocationSiteInstanceKeys extends Object implements InstanceKeyFactory
Constructor and Description |
---|
SmushedAllocationSiteInstanceKeys(AnalysisOptions options,
IClassHierarchy cha) |
Modifier and Type | Method and Description |
---|---|
InstanceKey |
getInstanceKeyForAllocation(CGNode node,
NewSiteReference allocation) |
<T> InstanceKey |
getInstanceKeyForConstant(TypeReference type,
T S) |
InstanceKey |
getInstanceKeyForMetadataObject(Object obj,
TypeReference objType) |
InstanceKey |
getInstanceKeyForMultiNewArray(CGNode node,
NewSiteReference allocation,
int dim) |
InstanceKey |
getInstanceKeyForPEI(CGNode node,
ProgramCounter pei,
TypeReference type) |
public SmushedAllocationSiteInstanceKeys(AnalysisOptions options, IClassHierarchy cha)
options
- Governing call graph construction optionspublic InstanceKey getInstanceKeyForAllocation(CGNode node, NewSiteReference allocation)
getInstanceKeyForAllocation
in interface InstanceKeyFactory
public InstanceKey getInstanceKeyForMultiNewArray(CGNode node, NewSiteReference allocation, int dim)
getInstanceKeyForMultiNewArray
in interface InstanceKeyFactory
public <T> InstanceKey getInstanceKeyForConstant(TypeReference type, T S)
getInstanceKeyForConstant
in interface InstanceKeyFactory
public InstanceKey getInstanceKeyForPEI(CGNode node, ProgramCounter pei, TypeReference type)
getInstanceKeyForPEI
in interface InstanceKeyFactory
public InstanceKey getInstanceKeyForMetadataObject(Object obj, TypeReference objType)
getInstanceKeyForMetadataObject
in interface InstanceKeyFactory
objType
- TODO