mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-21 01:06:46 +00:00
Remove unnecessary assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84004 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
56bfa4d5d0
commit
a917bfe8c2
@ -840,9 +840,6 @@ bool BitcodeReader::ParseMetadata() {
|
||||
for (unsigned i = 1; i != RecordLength; ++i)
|
||||
Name[i-1] = Record[i];
|
||||
MetadataContext &TheMetadata = Context.getMetadata();
|
||||
assert(TheMetadata.MDHandlerNames.find(Name.str())
|
||||
== TheMetadata.MDHandlerNames.end() &&
|
||||
"Already registered MDKind!");
|
||||
TheMetadata.MDHandlerNames[Name.str()] = Kind;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user