[bugfix] lset never be emit
This commit is contained in:
parent
82ea416c34
commit
8343ccd675
|
@ -1096,7 +1096,7 @@ codegen(codegen_state *state, pic_value obj)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (type == state->sLREF) {
|
else if (type == state->sLREF) {
|
||||||
cxt->code[cxt->clen].insn = OP_CSET;
|
cxt->code[cxt->clen].insn = OP_LSET;
|
||||||
cxt->code[cxt->clen].u.i = pic_int(pic_list_ref(pic, var, 1));
|
cxt->code[cxt->clen].u.i = pic_int(pic_list_ref(pic, var, 1));
|
||||||
cxt->clen++;
|
cxt->clen++;
|
||||||
cxt->code[cxt->clen].insn = OP_PUSHNONE;
|
cxt->code[cxt->clen].insn = OP_PUSHNONE;
|
||||||
|
|
Loading…
Reference in New Issue