don't emit duplicate OP_RET in codegen_lambda
This commit is contained in:
@@ -1338,8 +1338,6 @@ codegen_lambda(codegen_state *state, pic_value obj)
|
||||
{
|
||||
/* body */
|
||||
codegen(state, body);
|
||||
state->cxt->code[state->cxt->clen].insn = OP_RET;
|
||||
state->cxt->clen++;
|
||||
}
|
||||
return pop_codegen_context(state);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user