mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-04 01:26:41 +00:00
Minor cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174756 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cb64462c79
commit
d3da6d5dda
@ -1923,7 +1923,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
|
||||
|
||||
} else if (const AllocaInst *AI = dyn_cast<AllocaInst>(&I)) {
|
||||
Out << ' ';
|
||||
TypePrinter.print(AI->getType()->getElementType(), Out);
|
||||
TypePrinter.print(AI->getAllocatedType(), Out);
|
||||
if (!AI->getArraySize() || AI->isArrayAllocation()) {
|
||||
Out << ", ";
|
||||
writeOperand(AI->getArraySize(), true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user