mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-19 15:29:17 +00:00
Improve stack and local extension logic for injectors, fixes #368
This commit is contained in:
1 parent
fa94ab4b31
commit
ac01029add
11 files changed
+235
-50
No files matched your search
@@ -388,7 +388,7 @@ public final class Bytecode {
|
||||
* @param method Method to print
|
||||
*/
|
||||
public static void printMethod(MethodNode method) {
|
||||
System.err.printf("%s%s\n", method.name, method.desc);
|
||||
System.err.printf("%s%s maxStack=%d maxLocals=%d\n", method.name, method.desc, method.maxStack, method.maxLocals);
|
||||
int index = 0;
|
||||
for (Iterator<AbstractInsnNode> iter = method.instructions.iterator(); iter.hasNext();) {
|
||||
System.err.printf("%-4d ", index++);
|
||||
|
||||
Reference in new issue
Block a user