[llvm-commits] CVS: llvm/lib/Bytecode/Reader/ConstantReader.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Jan 15 10:57:01 PST 2004
Changes in directory llvm/lib/Bytecode/Reader:
ConstantReader.cpp updated: 1.69 -> 1.70
---
Log message:
Fix brokenness in my last checking
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Bytecode/Reader/ConstantReader.cpp
diff -u llvm/lib/Bytecode/Reader/ConstantReader.cpp:1.69 llvm/lib/Bytecode/Reader/ConstantReader.cpp:1.70
--- llvm/lib/Bytecode/Reader/ConstantReader.cpp:1.69 Thu Jan 15 00:13:09 2004
+++ llvm/lib/Bytecode/Reader/ConstantReader.cpp Thu Jan 15 10:56:15 2004
@@ -301,7 +301,7 @@
Elements[i] = ConstantSInt::get(Type::SByteTy, Data[i]);
else
for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i)
- Elements[i] = ConstantSInt::get(Type::UByteTy, Data[i]);
+ Elements[i] = ConstantUInt::get(Type::UByteTy, Data[i]);
// Create the constant, inserting it as needed.
Constant *C = ConstantArray::get(ATy, Elements);
More information about the llvm-commits
mailing list