mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Fix brokenness in my last checking
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10874 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f69d76fd3b
commit
570fb1cbd8
@ -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