We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a412922 commit 9d9e49fCopy full SHA for 9d9e49f
src/main/pt/up/fe/comp2023/jasmin/JasminUtils.java
@@ -198,6 +198,7 @@ public static String createConstructMethod(String superClassName) {
198
public static String createMethodDirective(Method method) {
199
JVMInstructionUtils.numLocals = 0;
200
JVMInstructionUtils.stackSize = 0;
201
+ JVMInstructionUtils.currStackSize = 0;
202
String instructions = handleMethodStatements(method);
203
if (method.isStaticMethod() && method.getParams().size() > 0)
204
JVMInstructionUtils.numLocals++;
0 commit comments