diff options
author | Mike Pall <mike> | 2011-03-10 01:57:24 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2011-03-10 01:57:24 +0100 |
commit | bfce3c1127fd57fe0c935c92bcf45b4737041edd (patch) | |
tree | 2bd2d9e08c70608de63c7a69df7f00cfab07f6be /src/lj_snap.c | |
parent | 3f26e3a89d54dfb761ca02fc89aaf15326f5f514 (diff) | |
download | luajit-bfce3c1127fd57fe0c935c92bcf45b4737041edd.tar.gz luajit-bfce3c1127fd57fe0c935c92bcf45b4737041edd.tar.bz2 luajit-bfce3c1127fd57fe0c935c92bcf45b4737041edd.zip |
DUALNUM: Handle integer type in JIT compiler.
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; |