mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-27 14:24:40 +00:00
Print types for all ret operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47911 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1417,7 +1417,8 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
|
|||||||
const Type *TheType = Operand->getType();
|
const Type *TheType = Operand->getType();
|
||||||
|
|
||||||
// Select, Store and ShuffleVector always print all types.
|
// Select, Store and ShuffleVector always print all types.
|
||||||
if (isa<SelectInst>(I) || isa<StoreInst>(I) || isa<ShuffleVectorInst>(I)) {
|
if (isa<SelectInst>(I) || isa<StoreInst>(I) || isa<ShuffleVectorInst>(I)
|
||||||
|
|| isa<ReturnInst>(I)) {
|
||||||
PrintAllTypes = true;
|
PrintAllTypes = true;
|
||||||
} else {
|
} else {
|
||||||
for (unsigned i = 1, E = I.getNumOperands(); i != E; ++i) {
|
for (unsigned i = 1, E = I.getNumOperands(); i != E; ++i) {
|
||||||
|
Reference in New Issue
Block a user