!"i" is a valid MDString.

llvm-svn: 74881
This commit is contained in:
Devang Patel
2009-07-06 23:40:48 +00:00
parent 8e8028eac3
commit 78b7c1bfe7

View File

@@ -1010,7 +1010,6 @@ bool BitcodeReader::ParseConstants() {
break;
}
case bitc::CST_CODE_MDSTRING: {
if (Record.size() < 2) return Error("Invalid MDSTRING record");
unsigned MDStringLength = Record.size();
SmallString<8> String;
String.resize(MDStringLength);