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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236512 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h

index 59ffb70ba30ab339f1982cbe3e0ca38a69893148..719adbc562c217874b6a98e1dfb67d0a72c39997 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;