mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Unbreak build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117155 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1253,6 +1253,17 @@ bool MachineInstr::allDefsAreDead() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
/// copyImplicitOps - Copy implicit register operands from specified
|
||||
/// instruction to this instruction.
|
||||
void MachineInstr::copyImplicitOps(const MachineInstr *MI) {
|
||||
for (unsigned i = MI->getDesc().getNumOperands(), e = MI->getNumOperands();
|
||||
i != e; ++i) {
|
||||
const MachineOperand &MO = MI->getOperand(i);
|
||||
if (MO.isReg() && MO.isImplicit())
|
||||
addOperand(MO);
|
||||
}
|
||||
}
|
||||
|
||||
void MachineInstr::dump() const {
|
||||
dbgs() << " " << *this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user