make sure that we restore even if only the X registers moved.
This commit is contained in:
parent
95a15bb689
commit
5e09d8e1bd
3
C/save.c
3
C/save.c
@ -1602,7 +1602,8 @@ check_opcodes(OPCODE old_ops[])
|
|||||||
static void
|
static void
|
||||||
RestoreHeap(OPCODE old_ops[])
|
RestoreHeap(OPCODE old_ops[])
|
||||||
{
|
{
|
||||||
int heap_moved = (OldHeapBase != Yap_HeapBase), opcodes_moved;
|
int heap_moved = (OldHeapBase != Yap_HeapBase ||
|
||||||
|
XDiff), opcodes_moved;
|
||||||
Term mod = CurrentModule;
|
Term mod = CurrentModule;
|
||||||
|
|
||||||
CurrentModule = PROLOG_MODULE;
|
CurrentModule = PROLOG_MODULE;
|
||||||
|
Reference in New Issue
Block a user