aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2011-11-27 18:22:48 +0100
committerMike Pall <mike>2011-11-27 18:22:48 +0100
commitff7e9bc464878994714346ac9efae4e87b065076 (patch)
treed9571b1ad0b2d45e038af39dd2834c68f554e080
parentd1569a5d6888ecc43c44822afca19461e96af623 (diff)
downloadluajit-ff7e9bc464878994714346ac9efae4e87b065076.tar.gz
luajit-ff7e9bc464878994714346ac9efae4e87b065076.tar.bz2
luajit-ff7e9bc464878994714346ac9efae4e87b065076.zip
FFI: Need to treat strlen() as a load.
-rw-r--r--src/lj_ircall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_ircall.h b/src/lj_ircall.h
index 5397046e..1a9599af 100644
--- a/src/lj_ircall.h
+++ b/src/lj_ircall.h
@@ -168,7 +168,7 @@ typedef struct CCallInfo {
168 _(FFI, lj_carith_powi64, ARG2_64, N, I64, CCI_NOFPRCLOBBER) \ 168 _(FFI, lj_carith_powi64, ARG2_64, N, I64, CCI_NOFPRCLOBBER) \
169 _(FFI, lj_carith_powu64, ARG2_64, N, U64, CCI_NOFPRCLOBBER) \ 169 _(FFI, lj_carith_powu64, ARG2_64, N, U64, CCI_NOFPRCLOBBER) \
170 _(FFI, lj_cdata_setfin, 2, FN, P32, CCI_L) \ 170 _(FFI, lj_cdata_setfin, 2, FN, P32, CCI_L) \
171 _(FFI, strlen, 1, N, INTP, 0) \ 171 _(FFI, strlen, 1, L, INTP, 0) \
172 _(FFI, memcpy, 3, S, PTR, 0) \ 172 _(FFI, memcpy, 3, S, PTR, 0) \
173 _(FFI, memset, 3, S, PTR, 0) \ 173 _(FFI, memset, 3, S, PTR, 0) \
174 _(FFI, lj_vm_errno, 0, S, INT, CCI_NOFPRCLOBBER) \ 174 _(FFI, lj_vm_errno, 0, S, INT, CCI_NOFPRCLOBBER) \