diff options
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CodeGenPrepare.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp index d806c7c..1f5a8d9 100644 --- a/llvm/lib/CodeGen/CodeGenPrepare.cpp +++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp @@ -3062,6 +3062,9 @@ class TypePromotionTransaction { ~InstructionRemover() override { delete Replacer; } + InstructionRemover &operator=(const InstructionRemover &other) = delete; + InstructionRemover(const InstructionRemover &other) = delete; + /// Resurrect the instruction and reassign it to the proper uses if /// new value was provided when build this action. void undo() override { |