fix ReturnBinding save stack

This commit is contained in:
hengyunabc
2020-04-21 16:05:16 +08:00
parent 637f2b53a9
commit d496fcede5
@@ -25,7 +25,7 @@ public class ReturnBinding extends Binding {
AsmOpUtils.push(instructions, null);
}else {
LocalVariableNode returnVariableNode = bindingContext.getMethodProcessor().initReturnVariableNode();
AsmOpUtils.storeVar(instructions, returnType, returnVariableNode.index);
AsmOpUtils.loadVar(instructions, returnType, returnVariableNode.index);
}
}