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