AS1/2: Merging pushes fix

This commit is contained in:
Jindra Petk
2013-04-19 20:20:37 +02:00
parent 8b29ca20ff
commit ac1f6fea06

View File

@@ -449,8 +449,16 @@ public class Action implements GraphSourceItem {
if (a.replaceWith != null) {
if (lastPush) {
ret += "\r\n";
lastPush = false;
}
ret += Highlighting.hilighOffset("", offset) + a.replaceWith.getASMSource(list, importantOffsets, constantPool, version, hex) + "\r\n";
} else if (a.ignored) {
if (lastPush) {
ret += "\r\n";
lastPush = false;
}
int len = 0;
if (pos + 1 < list.size()) {
len = (int) (((Action) (list.get(pos + 1))).getAddress() - a.getAddress());