mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-27 08:38:48 +00:00
Renamed opIsDef to opIsDefOnly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6340 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
78a4f23a8e
commit
49cab03c81
@ -221,7 +221,8 @@ void X86InstrInfo::print(const MachineInstr *MI, std::ostream &O,
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
unsigned i = 0;
|
unsigned i = 0;
|
||||||
if (MI->getNumOperands() && MI->getOperand(0).opIsDef()) {
|
if (MI->getNumOperands() && (MI->getOperand(0).opIsDefOnly() ||
|
||||||
|
MI->getOperand(0).opIsDefAndUse())) {
|
||||||
printOp(O, MI->getOperand(0), RI);
|
printOp(O, MI->getOperand(0), RI);
|
||||||
O << " = ";
|
O << " = ";
|
||||||
++i;
|
++i;
|
||||||
@ -230,9 +231,11 @@ void X86InstrInfo::print(const MachineInstr *MI, std::ostream &O,
|
|||||||
|
|
||||||
for (unsigned e = MI->getNumOperands(); i != e; ++i) {
|
for (unsigned e = MI->getNumOperands(); i != e; ++i) {
|
||||||
O << " ";
|
O << " ";
|
||||||
if (MI->getOperand(i).opIsDef()) O << "*";
|
if (MI->getOperand(i).opIsDefOnly() ||
|
||||||
|
MI->getOperand(i).opIsDefAndUse()) O << "*";
|
||||||
printOp(O, MI->getOperand(i), RI);
|
printOp(O, MI->getOperand(i), RI);
|
||||||
if (MI->getOperand(i).opIsDef()) O << "*";
|
if (MI->getOperand(i).opIsDefOnly() ||
|
||||||
|
MI->getOperand(i).opIsDefAndUse()) O << "*";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
O << "\n";
|
O << "\n";
|
||||||
|
@ -221,7 +221,8 @@ void X86InstrInfo::print(const MachineInstr *MI, std::ostream &O,
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
unsigned i = 0;
|
unsigned i = 0;
|
||||||
if (MI->getNumOperands() && MI->getOperand(0).opIsDef()) {
|
if (MI->getNumOperands() && (MI->getOperand(0).opIsDefOnly() ||
|
||||||
|
MI->getOperand(0).opIsDefAndUse())) {
|
||||||
printOp(O, MI->getOperand(0), RI);
|
printOp(O, MI->getOperand(0), RI);
|
||||||
O << " = ";
|
O << " = ";
|
||||||
++i;
|
++i;
|
||||||
@ -230,9 +231,11 @@ void X86InstrInfo::print(const MachineInstr *MI, std::ostream &O,
|
|||||||
|
|
||||||
for (unsigned e = MI->getNumOperands(); i != e; ++i) {
|
for (unsigned e = MI->getNumOperands(); i != e; ++i) {
|
||||||
O << " ";
|
O << " ";
|
||||||
if (MI->getOperand(i).opIsDef()) O << "*";
|
if (MI->getOperand(i).opIsDefOnly() ||
|
||||||
|
MI->getOperand(i).opIsDefAndUse()) O << "*";
|
||||||
printOp(O, MI->getOperand(i), RI);
|
printOp(O, MI->getOperand(i), RI);
|
||||||
if (MI->getOperand(i).opIsDef()) O << "*";
|
if (MI->getOperand(i).opIsDefOnly() ||
|
||||||
|
MI->getOperand(i).opIsDefAndUse()) O << "*";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
O << "\n";
|
O << "\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user