diff options
Diffstat (limited to 'src/lj_snap.c')
-rw-r--r-- | src/lj_snap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lj_snap.c b/src/lj_snap.c index 59435b20..70628a0e 100644 --- a/src/lj_snap.c +++ b/src/lj_snap.c | |||
@@ -68,7 +68,8 @@ static MSize snapshot_slots(jit_State *J, SnapEntry *map, BCReg nslots) | |||
68 | if (!(ir->op2 & IRSLOAD_INHERIT)) | 68 | if (!(ir->op2 & IRSLOAD_INHERIT)) |
69 | continue; | 69 | continue; |
70 | /* No need to restore readonly slots and unmodified non-parent slots. */ | 70 | /* No need to restore readonly slots and unmodified non-parent slots. */ |
71 | if ((ir->op2 & (IRSLOAD_READONLY|IRSLOAD_PARENT)) != IRSLOAD_PARENT) | 71 | if (!(LJ_DUALNUM && (ir->op2 & IRSLOAD_CONVERT)) && |
72 | (ir->op2 & (IRSLOAD_READONLY|IRSLOAD_PARENT)) != IRSLOAD_PARENT) | ||
72 | sn |= SNAP_NORESTORE; | 73 | sn |= SNAP_NORESTORE; |
73 | } | 74 | } |
74 | map[n++] = sn; | 75 | map[n++] = sn; |