Fix build warning for r373240.

llvm-svn: 373244
This commit is contained in:
Yuanfang Chen 2019-09-30 18:32:38 +00:00
parent 218bea9703
commit f0ca10f2ab
1 changed files with 2 additions and 1 deletions

View File

@ -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();