summaryrefslogtreecommitdiff
path: root/src/lj_ffrecord.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_ffrecord.c')
-rw-r--r--src/lj_ffrecord.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lj_ffrecord.c b/src/lj_ffrecord.c
index b7ee06cd..ca9f6ceb 100644
--- a/src/lj_ffrecord.c
+++ b/src/lj_ffrecord.c
@@ -266,6 +266,10 @@ static void LJ_FASTCALL recff_tonumber(jit_State *J, RecordFFData *rd)
266 recff_nyiu(J); /* Would need an inverted STRTO for this case. */ 266 recff_nyiu(J); /* Would need an inverted STRTO for this case. */
267 tr = emitir(IRTG(IR_STRTO, IRT_NUM), tr, 0); 267 tr = emitir(IRTG(IR_STRTO, IRT_NUM), tr, 0);
268 } 268 }
269#if LJ_HASFFI
270 } else if (tref_iscdata(tr)) {
271 recff_nyiu(J);
272#endif
269 } else { 273 } else {
270 tr = TREF_NIL; 274 tr = TREF_NIL;
271 } 275 }