localdata fixes

This commit is contained in:
Honfika
2013-10-13 13:59:44 +02:00
parent 407598ee28
commit 7cd3f79dd1
108 changed files with 355 additions and 279 deletions

View File

@@ -707,12 +707,12 @@ public class AVM2Code implements Serializable {
return s.toString();
}
public HilightedTextWriter toString(HilightedTextWriter writer, ConstantPool constants) {
public HilightedTextWriter toString(HilightedTextWriter writer, LocalData localData) {
int i = 0;
for (AVM2Instruction instruction : code) {
writer.appendNoHilight(Helper.formatAddress(i));
writer.appendNoHilight(" ");
instruction.toString(writer, constants, new ArrayList<String>()).appendNewLine();
instruction.toString(writer, localData).appendNewLine();
i++;
}
return writer;