mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-25 04:35:32 -04:00
MetadataLoader: Reinitialize MinFwdRef/MaxFwdRef after resolving cycles (NFC)
This put the Loader back in a consistent state. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290409 91177308-0d34-0410-b5e6-96231b3b80d8
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