forked from OSchip/llvm-project
MetadataLoader: Reinitialize MinFwdRef/MaxFwdRef after resolving cycles (NFC)
This put the Loader back in a consistent state. llvm-svn: 290409
This commit is contained in:
parent
5ae6170fc2
commit
37c178b6f5
|
@ -295,6 +295,8 @@ void BitcodeReaderMetadataList::tryToResolveCycles() {
|
|||
|
||||
// Make sure we return early again until there's another forward ref.
|
||||
AnyFwdRefs = false;
|
||||
MinFwdRef = 0;
|
||||
MaxFwdRef = 0;
|
||||
}
|
||||
|
||||
void BitcodeReaderMetadataList::addTypeRef(MDString &UUID,
|
||||
|
|
Loading…
Reference in New Issue