aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_crecord.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lj_crecord.c b/src/lj_crecord.c
index 2d630c85..e3973fc1 100644
--- a/src/lj_crecord.c
+++ b/src/lj_crecord.c
@@ -453,6 +453,10 @@ static TRef crec_ct_ct(jit_State *J, CType *d, CType *s, TRef dp, TRef sp,
453 sinfo = CTINFO(CT_NUM, CTF_UNSIGNED); 453 sinfo = CTINFO(CT_NUM, CTF_UNSIGNED);
454 ssize = CTSIZE_PTR; 454 ssize = CTSIZE_PTR;
455 st = IRT_UINTP; 455 st = IRT_UINTP;
456 if (((dsize ^ ssize) & 8) == 0) { /* Must insert no-op type conversion. */
457 sp = emitconv(sp, dsize < 4 ? IRT_INT : dt, IRT_PTR, 0);
458 goto xstore;
459 }
456 goto conv_I_I; 460 goto conv_I_I;
457 461
458 /* Destination is a floating-point number. */ 462 /* Destination is a floating-point number. */