FFI: Record ffi.copy() and ffi.fill().

This commit is contained in:
Mike Pall
2011-02-07 23:49:27 +01:00
parent fb53d4aeb7
commit 7a37b93f1b
5 changed files with 57 additions and 19 deletions

View File

@@ -276,7 +276,9 @@ typedef struct CCallInfo {
_(lj_carith_modu64, ARG2_64, N, U64, CCI_NOFPRCLOBBER) \
_(lj_carith_powi64, ARG2_64, N, I64, CCI_NOFPRCLOBBER) \
_(lj_carith_powu64, ARG2_64, N, U64, CCI_NOFPRCLOBBER) \
_(strlen, 1, N, INT, 0)
_(strlen, 1, N, INTP, 0) \
_(memcpy, 3, S, PTR, 0) \
_(memset, 3, S, PTR, 0)
#else
#define IRCALLDEF_FFI(_)
#endif