this.isNewSummary = isNewSummary;
this.allocSite = allocSite;
this.alpha = alpha;
- this.alphaNew = null;
this.description = description;
+ alphaNew = new ReachabilitySet();
+ alphaNew = alphaNew.makeCanonical();
+
referencers = new HashSet<OwnershipNode>();
memberFields = new HashSet<TempDescriptor>();
}
public void applyAlphaNew() {
assert alphaNew != null;
- alpha = alphaNew;
- alphaNew = null;
+
+ alpha = alphaNew;
+
+ alphaNew = new ReachabilitySet();
+ alphaNew = alphaNew.makeCanonical();
}