summaryrefslogtreecommitdiff
path: root/src/lj_snap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_snap.c')
-rw-r--r--src/lj_snap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_snap.c b/src/lj_snap.c
index dd70ece1..1af7ef85 100644
--- a/src/lj_snap.c
+++ b/src/lj_snap.c
@@ -307,7 +307,7 @@ static RegSP snap_renameref(GCtrace *T, SnapNo lim, IRRef ref, RegSP rs)
307/* Convert a snapshot into a linear slot -> RegSP map. 307/* Convert a snapshot into a linear slot -> RegSP map.
308** Note: unused slots are not initialized! 308** Note: unused slots are not initialized!
309*/ 309*/
310void lj_snap_regspmap(uint16_t *rsmap, GCtrace *T, SnapNo snapno) 310void lj_snap_regspmap(uint16_t *rsmap, GCtrace *T, SnapNo snapno, int hi)
311{ 311{
312 SnapShot *snap = &T->snap[snapno]; 312 SnapShot *snap = &T->snap[snapno];
313 MSize n, nent = snap->nent; 313 MSize n, nent = snap->nent;
@@ -316,7 +316,7 @@ void lj_snap_regspmap(uint16_t *rsmap, GCtrace *T, SnapNo snapno)
316 for (n = 0; n < nent; n++) { 316 for (n = 0; n < nent; n++) {
317 SnapEntry sn = map[n]; 317 SnapEntry sn = map[n];
318 IRRef ref = snap_ref(sn); 318 IRRef ref = snap_ref(sn);
319 if (!irref_isk(ref)) { 319 if ((LJ_SOFTFP && hi) ? (ref++, (sn & SNAP_SOFTFPNUM)) : !irref_isk(ref)) {
320 IRIns *ir = &T->ir[ref]; 320 IRIns *ir = &T->ir[ref];
321 uint32_t rs = ir->prev; 321 uint32_t rs = ir->prev;
322 if (bloomtest(rfilt, ref)) 322 if (bloomtest(rfilt, ref))