aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_crecord.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_crecord.c b/src/lj_crecord.c
index 84fc49ee..bc88d635 100644
--- a/src/lj_crecord.c
+++ b/src/lj_crecord.c
@@ -1661,6 +1661,8 @@ void LJ_FASTCALL lj_crecord_tonumber(jit_State *J, RecordFFData *rd)
1661 d = ctype_get(cts, CTID_DOUBLE); 1661 d = ctype_get(cts, CTID_DOUBLE);
1662 J->base[0] = crec_ct_tv(J, d, 0, J->base[0], &rd->argv[0]); 1662 J->base[0] = crec_ct_tv(J, d, 0, J->base[0], &rd->argv[0]);
1663 } else { 1663 } else {
1664 /* Specialize to the ctype that couldn't be converted. */
1665 argv2cdata(J, J->base[0], &rd->argv[0]);
1664 J->base[0] = TREF_NIL; 1666 J->base[0] = TREF_NIL;
1665 } 1667 }
1666} 1668}