mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Minor cleanup.
llvm-svn: 174756
This commit is contained in:
parent
69b48e13eb
commit
9986030aee
@ -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…
Reference in New Issue
Block a user