diff options
author | Chris Lattner <sabre@nondot.org> | 2004-01-15 16:56:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-01-15 16:56:15 +0000 |
commit | f63a4ecc0b4d2f4bd73d451c18a9b4ee62e46048 (patch) | |
tree | 0ec3c94dc15247067e7420f0f38d82143a60f8eb /llvm/lib/Bytecode/Reader/ConstantReader.cpp | |
parent | 456f9a502b5f63b2cd4c7501c4367ab219fe65d5 (diff) | |
download | bcm5719-llvm-f63a4ecc0b4d2f4bd73d451c18a9b4ee62e46048.tar.gz bcm5719-llvm-f63a4ecc0b4d2f4bd73d451c18a9b4ee62e46048.zip |
Fix brokenness in my last checking
llvm-svn: 10874
Diffstat (limited to 'llvm/lib/Bytecode/Reader/ConstantReader.cpp')
-rw-r--r-- | llvm/lib/Bytecode/Reader/ConstantReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Reader/ConstantReader.cpp b/llvm/lib/Bytecode/Reader/ConstantReader.cpp index c1e9588230c..93a9afac72a 100644 --- a/llvm/lib/Bytecode/Reader/ConstantReader.cpp +++ b/llvm/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] = 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); |