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:
vsc 2004-11-23 21:17:47 +00:00
parent bd965693e4
commit 43f422c5d2

View File

@ -1314,7 +1314,7 @@ RestoreHeap(OPCODE old_ops[])
CurrentModule = PROLOG_MODULE;
opcodes_moved = check_opcodes(old_ops);
/* opcodes_moved has side-effects and should be tried first */
if (heap_moved || opcodes_moved || TRUE) {
if (heap_moved || opcodes_moved) {
restore_heap();
}
/* This must be done after restore_heap */