mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-14 07:31:39 +00:00
Fix brokenness in my last checking
llvm-svn: 10874
This commit is contained in:
parent
1c65ca3a84
commit
91f2cd914c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user