WALA
WALA copied to clipboard
Instruction index vs. bytecode index
The following interface method declaration names its parameter instructionIndex:
https://github.com/wala/WALA/blob/5b6e6aefa069f341cb5b612f245b01953c519d61/com.ibm.wala.core/src/com/ibm/wala/classLoader/IMethod.java#L126
However, this corresponding implementation uses bytecode indices, which are very different:
https://github.com/wala/WALA/blob/5b6e6aefa069f341cb5b612f245b01953c519d61/com.ibm.wala.core/src/com/ibm/wala/classLoader/ShrikeBTMethod.java#L808
Since these parameters have different semantics, it might be best to split this into two different methods.