protected PointerMethod pm;
+ protected Hashtable<FlatMethod, ReachGraph> hackmap;
+
// allocate various structures that are not local
// to a single class method--should be done once
mapDescriptorToReachGraph =
new Hashtable<Descriptor, ReachGraph>();
+
+ hackmap = new Hashtable<FlatMethod, ReachGraph>();
}
// such as, do allocation sites need to be aged?
rg.merge_diffMethodContext( rgContrib );
- }
+ }
+ FlatMethod hackfm=(FlatMethod)fn;
+ if (hackmap.containsKey(hackfm)) {
+ rg.merge(hackmap.get(hackfm));
+ }
+ hackmap.put(hackfm, rg);
} break;
case FKind.FlatOpNode: