summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/CodeGen/MachineModuleInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineModuleInfo.h b/llvm/include/llvm/CodeGen/MachineModuleInfo.h
index c5c1889cf22..b8e00395a47 100644
--- a/llvm/include/llvm/CodeGen/MachineModuleInfo.h
+++ b/llvm/include/llvm/CodeGen/MachineModuleInfo.h
@@ -144,11 +144,12 @@ class MachineModuleInfo {
const Function *LastRequest = nullptr; ///< Used for shortcut/cache.
MachineFunction *LastResult = nullptr; ///< Used for shortcut/cache.
+ MachineModuleInfo &operator=(MachineModuleInfo &&MMII) = delete;
+
public:
explicit MachineModuleInfo(const LLVMTargetMachine *TM = nullptr);
MachineModuleInfo(MachineModuleInfo &&MMII);
- MachineModuleInfo &operator=(MachineModuleInfo &&MMII) = default;
~MachineModuleInfo();
OpenPOWER on IntegriCloud