mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-19 15:29:17 +00:00
Fix LVT resolution with compressed frames and two related minor bugs
This commit is contained in:
1 parent
b8638b2340
commit
22ae7dd1f9
3 files changed
+175
-15
No files matched your search
@@ -390,8 +390,9 @@ public final class Bytecode {
|
||||
*/
|
||||
public static void printMethod(MethodNode method) {
|
||||
System.err.printf("%s%s\n", method.name, method.desc);
|
||||
int index = 0;
|
||||
for (Iterator<AbstractInsnNode> iter = method.instructions.iterator(); iter.hasNext();) {
|
||||
System.err.print(" ");
|
||||
System.err.printf("%-4d ", index++);
|
||||
Bytecode.printNode(iter.next());
|
||||
}
|
||||
}
|
||||
@@ -1216,4 +1217,5 @@ public final class Bytecode {
|
||||
destination.addAll(source);
|
||||
return destination;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user