mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-22 16:46:10 +00:00
allow trait specification in pcode import
This commit is contained in:
@@ -124,7 +124,7 @@ public class ActionScript3ExecuteTest {
|
||||
private int addMethod(int classId, String name, boolean isStatic, AVM2Code code) {
|
||||
TraitMethodGetterSetter methodTrait = abc.addMethod(classId, name, isStatic);
|
||||
MethodInfo methodInfo = abc.method_info.get(methodTrait.method_info);
|
||||
MethodBody methodBody = methodInfo.getBody();
|
||||
MethodBody methodBody = abc.findBody(methodInfo);
|
||||
methodBody.max_stack = 10;
|
||||
methodBody.max_regs = 10;
|
||||
methodBody.init_scope_depth = 3;
|
||||
|
||||
Reference in New Issue
Block a user