1
0
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:
Devang Patel 2009-10-13 18:51:03 +00:00
parent 679377c816
commit 934fb4274a

View File

@ -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;
}