mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Remove unnecessary assert.
llvm-svn: 84004
This commit is contained in:
parent
679377c816
commit
934fb4274a
@ -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…
Reference in New Issue
Block a user