projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92c5511
)
!"i" is a valid MDString.
author
Devang Patel
<dpatel@apple.com>
Mon, 6 Jul 2009 23:40:48 +0000
(23:40 +0000)
committer
Devang Patel
<dpatel@apple.com>
Mon, 6 Jul 2009 23:40:48 +0000
(23:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74881
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bitcode/Reader/BitcodeReader.cpp
patch
|
blob
|
history
diff --git
a/lib/Bitcode/Reader/BitcodeReader.cpp
b/lib/Bitcode/Reader/BitcodeReader.cpp
index 5943de2f81210a718e4be89d32150a4b8f2e737e..a29aa956f7866de72b449b8fa0b8d32eb3b0899f 100644
(file)
--- a/
lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/
lib/Bitcode/Reader/BitcodeReader.cpp
@@
-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);