summaryrefslogtreecommitdiff
path: root/src/lj_snap.c
diff options
context:
space:
mode:
authorMike Pall <mike>2015-01-03 15:23:58 +0100
committerMike Pall <mike>2015-01-03 15:23:58 +0100
commitcb481ddc8f9d92913ba07d998f4274bbf9711077 (patch)
tree852ffb4dd7c3cfdcf5c1ca6ae1531e5f9436d064 /src/lj_snap.c
parent054e6abe37450344e20b373ec326055071029e9b (diff)
downloadluajit-cb481ddc8f9d92913ba07d998f4274bbf9711077.tar.gz
luajit-cb481ddc8f9d92913ba07d998f4274bbf9711077.tar.bz2
luajit-cb481ddc8f9d92913ba07d998f4274bbf9711077.zip
Add LJ_GC64 mode: 64 bit GC object references.
Actually NaN tagging with 47 bit pointers and 13+4 bit tags.
Diffstat (limited to 'src/lj_snap.c')
-rw-r--r--src/lj_snap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_snap.c b/src/lj_snap.c
index 4bac2d28..abc943b7 100644
--- a/src/lj_snap.c
+++ b/src/lj_snap.c
@@ -602,6 +602,7 @@ static void snap_restoreval(jit_State *J, GCtrace *T, ExitState *ex,
602 } 602 }
603 if (LJ_UNLIKELY(bloomtest(rfilt, ref))) 603 if (LJ_UNLIKELY(bloomtest(rfilt, ref)))
604 rs = snap_renameref(T, snapno, ref, rs); 604 rs = snap_renameref(T, snapno, ref, rs);
605 lua_assert(!LJ_GC64); /* TODO_GC64: handle 64 bit references. */
605 if (ra_hasspill(regsp_spill(rs))) { /* Restore from spill slot. */ 606 if (ra_hasspill(regsp_spill(rs))) { /* Restore from spill slot. */
606 int32_t *sps = &ex->spill[regsp_spill(rs)]; 607 int32_t *sps = &ex->spill[regsp_spill(rs)];
607 if (irt_isinteger(t)) { 608 if (irt_isinteger(t)) {