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:
f69d76f
)
Fix brokenness in my last checking
author
Chris Lattner
<sabre@nondot.org>
Thu, 15 Jan 2004 16:56:15 +0000
(16:56 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 15 Jan 2004 16:56:15 +0000
(16:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10874
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bytecode/Reader/ConstantReader.cpp
patch
|
blob
|
history
diff --git
a/lib/Bytecode/Reader/ConstantReader.cpp
b/lib/Bytecode/Reader/ConstantReader.cpp
index c1e9588230cb74d0b6066f865fd89da35ae58aff..93a9afac72ab95ce6cc74ffbae2bafad8b80bc74 100644
(file)
--- a/
lib/Bytecode/Reader/ConstantReader.cpp
+++ b/
lib/Bytecode/Reader/ConstantReader.cpp
@@
-301,7
+301,7
@@
void BytecodeParser::parseStringConstants(const unsigned char *&Buf,
Elements[i] = ConstantSInt::get(Type::SByteTy, Data[i]);
else
for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i)
- Elements[i] = Constant
S
Int::get(Type::UByteTy, Data[i]);
+ Elements[i] = Constant
U
Int::get(Type::UByteTy, Data[i]);
// Create the constant, inserting it as needed.
Constant *C = ConstantArray::get(ATy, Elements);