fix ReturnBinding save stack

pull/1182/head
hengyunabc 5 years ago
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);
}
}

Loading…
Cancel
Save