mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 17:25:21 +00:00
Move EVER MORE stuff over to LLVMContext.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75703 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3503,7 +3503,7 @@ void CWriter::visitStoreInst(StoreInst &I) {
|
||||
if (!ITy->isPowerOf2ByteWidth())
|
||||
// We have a bit width that doesn't match an even power-of-2 byte
|
||||
// size. Consequently we must & the value with the type's bit mask
|
||||
BitMask = ConstantInt::get(ITy, ITy->getBitMask());
|
||||
BitMask = Context->getConstantInt(ITy, ITy->getBitMask());
|
||||
if (BitMask)
|
||||
Out << "((";
|
||||
writeOperand(Operand);
|
||||
|
Reference in New Issue
Block a user