if (tfpset!=null) {
for(Iterator<TempFlatPair> tfpit=tfpset.iterator();tfpit.hasNext();) {
TempFlatPair tfp=tfpit.next();
- if (tfset.contains(tfp)) {
+ if (tfset.contains(tfp)||ok(tfp)) {
srctrans.add(fsfn);
break;
}
if (tfpset!=null) {
for(Iterator<TempFlatPair> tfpit=tfpset.iterator();tfpit.hasNext();) {
TempFlatPair tfp=tfpit.next();
- if (tfset.contains(tfp)) {
+ if (tfset.contains(tfp)||ok(tfp)) {
srctrans.add(fsen);
break;
}
}
}
+ public boolean ok(TempFlatPair tfp) {
+ FlatNode fn=tfp.f;
+ return fn.kind()==FKind.FlatCall;
+ }
+
HashSet<TempFlatPair> computeTranslationSet(LocalityBinding lb, FlatMethod fm, Hashtable<FlatNode, Hashtable<TempDescriptor, Set<TempFlatPair>>> fnmap) {
HashSet<TempFlatPair> tfset=new HashSet<TempFlatPair>();