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 | 570fb1cbd83eaddce4e14bfe2c26d43bd859c993 (patch) | |
tree | dd563eec5086f2d8eb9f679a0894b4c1d3e4d7f4 /lib/Bytecode | |
parent | f69d76fd3b0406cf2369e434ed978aec98c7f2b6 (diff) |
Fix brokenness in my last checking
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10874 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
-rw-r--r-- | lib/Bytecode/Reader/ConstantReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bytecode/Reader/ConstantReader.cpp b/lib/Bytecode/Reader/ConstantReader.cpp index c1e9588230..93a9afac72 100644 --- 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] = 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); |