Small change
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
i22007 2024-06-24 18:52:55 -04:00
parent d631b01c82
commit 4c5473827e

View File

@ -73,7 +73,7 @@ public class MethodCodeGen implements bytecode.visitor.MethodVisitor {
} }
methodVisitor.visitInsn(RETURN); methodVisitor.visitInsn(RETURN);
methodVisitor.visitMaxs(1, localVaribales.size()); methodVisitor.visitMaxs(0, 0);
methodVisitor.visitEnd(); methodVisitor.visitEnd();
} }
@ -94,7 +94,7 @@ public class MethodCodeGen implements bytecode.visitor.MethodVisitor {
statementNode.accept(this); statementNode.accept(this);
} }
methodVisitor.visitMaxs(1, localVaribales.size()); methodVisitor.visitMaxs(0, 0);
methodVisitor.visitEnd(); methodVisitor.visitEnd();
} }
@ -118,7 +118,7 @@ public class MethodCodeGen implements bytecode.visitor.MethodVisitor {
statementNode.accept(this); statementNode.accept(this);
} }
methodVisitor.visitMaxs(1, localVaribales.size()); methodVisitor.visitMaxs(0, 0);
methodVisitor.visitEnd(); methodVisitor.visitEnd();
} }
@ -250,7 +250,9 @@ public class MethodCodeGen implements bytecode.visitor.MethodVisitor {
@Override @Override
public void visit(MemberAccessNode memberAccessNode) { public void visit(MemberAccessNode memberAccessNode) {
if(memberAccessNode.thisExpr) {
//methodVisitor.visitFieldInsn(PUTFIELD);
}
} }
@Override @Override