was always forcing restore
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1187 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
bd965693e4
commit
43f422c5d2
2
C/save.c
2
C/save.c
@ -1314,7 +1314,7 @@ RestoreHeap(OPCODE old_ops[])
|
|||||||
CurrentModule = PROLOG_MODULE;
|
CurrentModule = PROLOG_MODULE;
|
||||||
opcodes_moved = check_opcodes(old_ops);
|
opcodes_moved = check_opcodes(old_ops);
|
||||||
/* opcodes_moved has side-effects and should be tried first */
|
/* opcodes_moved has side-effects and should be tried first */
|
||||||
if (heap_moved || opcodes_moved || TRUE) {
|
if (heap_moved || opcodes_moved) {
|
||||||
restore_heap();
|
restore_heap();
|
||||||
}
|
}
|
||||||
/* This must be done after restore_heap */
|
/* This must be done after restore_heap */
|
||||||
|
Reference in New Issue
Block a user