diff options
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 1f14546..9e67dcb 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -178,6 +178,12 @@ void MachineFunction::handleRemoval(MachineInstr &MI) { TheDelegate->MF_HandleRemoval(MI); } +void MachineFunction::handleChangeDesc(MachineInstr &MI, + const MCInstrDesc &TID) { + if (TheDelegate) + TheDelegate->MF_HandleChangeDesc(MI, TID); +} + void MachineFunction::init() { // Assume the function starts in SSA form with correct liveness. Properties.set(MachineFunctionProperties::Property::IsSSA); |