diff options
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h index 8ec6a6513e3..9715e71e859 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -45,6 +45,7 @@ public: AllocaHolder(AllocaHolder &&RHS) : Allocations(std::move(RHS.Allocations)) {} AllocaHolder &operator=(AllocaHolder &&RHS) { Allocations = std::move(RHS.Allocations); + return *this; } ~AllocaHolder() { |