diff options
Diffstat (limited to 'src/lj_asm_x86.h')
-rw-r--r-- | src/lj_asm_x86.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h index 391e2de9..4d47e389 100644 --- a/src/lj_asm_x86.h +++ b/src/lj_asm_x86.h | |||
@@ -2316,8 +2316,8 @@ static void asm_stack_check(ASMState *as, BCReg topslot, | |||
2316 | static void asm_stack_restore(ASMState *as, SnapShot *snap) | 2316 | static void asm_stack_restore(ASMState *as, SnapShot *snap) |
2317 | { | 2317 | { |
2318 | SnapEntry *map = &as->T->snapmap[snap->mapofs]; | 2318 | SnapEntry *map = &as->T->snapmap[snap->mapofs]; |
2319 | SnapEntry *flinks = &as->T->snapmap[snap_nextofs(as->T, snap)-1]; | ||
2319 | MSize n, nent = snap->nent; | 2320 | MSize n, nent = snap->nent; |
2320 | SnapEntry *flinks = map + nent + snap->depth; | ||
2321 | /* Store the value of all modified slots to the Lua stack. */ | 2321 | /* Store the value of all modified slots to the Lua stack. */ |
2322 | for (n = 0; n < nent; n++) { | 2322 | for (n = 0; n < nent; n++) { |
2323 | SnapEntry sn = map[n]; | 2323 | SnapEntry sn = map[n]; |