From: David Blaikie Date: Tue, 5 May 2015 18:12:33 +0000 (+0000) Subject: Fix the clang -Werror build, use of uninitialized variable. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=4e3748ca77de032c9fcf6c149f4c74d103bdc000;ds=sidebyside Fix the clang -Werror build, use of uninitialized variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236512 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h b/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h index 59ffb70ba30..719adbc562c 100644 --- a/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h +++ b/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h @@ -74,7 +74,7 @@ private: LogicalModule(LogicalModule &&Other) : SrcM(std::move(Other.SrcM)), GVsAndStubsHandle(std::move(Other.GVsAndStubsHandle)), - ImplHandles(std::move(ImplHandles)) {} + ImplHandles(std::move(Other.ImplHandles)) {} std::unique_ptr SrcM; BaseLayerModuleSetHandleT GVsAndStubsHandle;