fix atom gc to actually recover first atom in the chain.
This commit is contained in:
@@ -391,7 +391,7 @@ RestoreAtoms(void)
|
||||
PtoAtomHashEntryAdjust(Yap_heap_regs->hash_chain);
|
||||
HashPtr = HashChain;
|
||||
for (i = 0; i < AtomHashTableSize; ++i) {
|
||||
HashPtr->Entry = AtomAdjust(HashPtr->Entry);
|
||||
HashPtr->Entry = NoAGCAtomAdjust(HashPtr->Entry);
|
||||
RestoreAtomList(HashPtr->Entry);
|
||||
HashPtr++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user