Hi! > This should be an easy fixing. Instead of attaching LineNumberTags to > statements, you can attach it to a smaller unit, ValueBox (it implements > Host interface). Yes, thank you! That fixed it. Find attached a diff for CFG.java. Now line numbers are added to the unit as well as to all its use boxes. > Also I think the whole LineNumber tag scheme can be changed to only keep > line number infor for important value boxes, for example, invokes, > get/put fields, array loads/stores, etc... Of course this might be optimized/ However I was not entirely sure, what you consider as "important" and what not. But feel free to modify the cose I sent you. I basically only need the numbers on invoke statements. Are this change and the change I postet a few days ago (retrieving inner/declaring classes) going to be merged into future versions? Cheers, Eric
Attachment:
CFG.diff
Description: Binary data