/** * @return the InstanceKey that acts as a representative for the class of objects that includes objects allocated at the given new * instruction in the given node */ public InstanceKey getInstanceKeyForAllocation(CGNode node, NewSiteReference allocation) { return instanceKeyFactory.getInstanceKeyForAllocation(node, allocation); }
/** * @return the InstanceKey that acts as a representative for the class of objects that includes objects allocated at the given new * instruction in the given node */ public InstanceKey getInstanceKeyForAllocation(CGNode node, NewSiteReference allocation) { return instanceKeyFactory.getInstanceKeyForAllocation(node, allocation); }
@Override public InstanceKey getInstanceKeyForAllocation(CGNode node, NewSiteReference allocation) { return iKeyFactory.getInstanceKeyForAllocation(node, allocation); }
@Override public InstanceKey getInstanceKeyForAllocation(CGNode node, NewSiteReference allocation) { return iKeyFactory.getInstanceKeyForAllocation(node, allocation); }
@Override public InstanceKey getInstanceKeyForAllocation(CGNode node, NewSiteReference allocation) { return getSelector(allocation).getInstanceKeyForAllocation(node, allocation); }
@Override public InstanceKey getInstanceKeyForAllocation(CGNode node, NewSiteReference allocation) { return getSelector(allocation).getInstanceKeyForAllocation(node, allocation); }
@Override public InstanceKey getInstanceKeyForAllocation(CGNode node, NewSiteReference allocation) { if (node.getMethod() instanceof JavaScriptConstructor) { InstanceKey bk = base.getInstanceKeyForAllocation(node, allocation); return new NormalAllocationInNode(node, allocation, bk.getConcreteType()); } else { return base.getInstanceKeyForAllocation(node, allocation); } }
@Override public InstanceKey getInstanceKeyForAllocation(CGNode node, NewSiteReference allocation) { if (node.getMethod() instanceof JavaScriptConstructor) { InstanceKey bk = base.getInstanceKeyForAllocation(node, allocation); return new NormalAllocationInNode(node, allocation, bk.getConcreteType()); } else { return base.getInstanceKeyForAllocation(node, allocation); } }
@Override public InstanceKey getInstanceKeyForAllocation(CGNode creatorNode, NewSiteReference allocationSite) { InstanceKey base = basic.getInstanceKeyForAllocation(creatorNode, allocationSite); if (base != null && needsScopeMappingKey(base)) { return new ScopeMappingInstanceKey(creatorNode, base); } else { return base; } }
@Override public InstanceKey getInstanceKeyForAllocation(CGNode creatorNode, NewSiteReference allocationSite) { InstanceKey base = basic.getInstanceKeyForAllocation(creatorNode, allocationSite); if (base != null && needsScopeMappingKey(base)) { return new ScopeMappingInstanceKey(creatorNode, base); } else { return base; } }