FFI: Fix recording of string buffer put() method.
Thanks to GitSparTV. #1527
This commit is contained in:
parent
ce8ec8dc23
commit
9451be00e2
@ -1328,6 +1328,7 @@ static void LJ_FASTCALL recff_buffer_method_put(jit_State *J, RecordFFData *rd)
|
|||||||
trbuf = lj_ir_call(J, IRCALL_lj_buf_putmem, trbuf, trr, len);
|
trbuf = lj_ir_call(J, IRCALL_lj_buf_putmem, trbuf, trr, len);
|
||||||
} else {
|
} else {
|
||||||
recff_nyiu(J, rd);
|
recff_nyiu(J, rd);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
emitir(IRT(IR_USE, IRT_NIL), trbuf, 0);
|
emitir(IRT(IR_USE, IRT_NIL), trbuf, 0);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user