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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user