Fix the clang -Werror build, use of uninitialized variable.
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 5 May 2015 18:12:33 +0000 (18:12 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 5 May 2015 18:12:33 +0000 (18:12 +0000)
llvm-svn: 236512

llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h

index 59ffb70..719adbc 100644 (file)
@@ -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<Module> SrcM;
     BaseLayerModuleSetHandleT GVsAndStubsHandle;