- output.println(dstVar+"->allocsite = "+
- heapAnalysis.getNewStringLiteralAlloc().getUniqueAllocSiteID()+
- ";"
- );
-
- output.println(dstVar+"->"+
- strBytes.getSafeSymbol()+
- "->allocsite = "+
- heapAnalysis.getNewStringLiteralBytesAlloc().getUniqueAllocSiteID()+
- ";"
- );
+
+ Integer stringAllocID = getIDtoGen( heapAnalysis.getNewStringLiteralAlloc(), -29 );
+ Integer stringBytesAllocID = getIDtoGen( heapAnalysis.getNewStringLiteralBytesAlloc(), -39 );
+
+ output.println(dstVar+"->allocsite = "+stringAllocID+";");
+ output.println(dstVar+"->"+strBytes.getSafeSymbol()+
+ "->allocsite = "+stringBytesAllocID+";");