FFI: Fix recording of string buffer put() method.

Thanks to GitSparTV. #1527
This commit is contained in:
Mike Pall 2026-10-13 12:11:01 +02:00
parent ce8ec8dc23
commit 9451be00e2

View File

@ -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);
} else {
recff_nyiu(J, rd);
return;
}
}
emitir(IRT(IR_USE, IRT_NIL), trbuf, 0);