[Orc] Fix missing return.
authorLang Hames <lhames@gmail.com>
Mon, 11 Jan 2016 19:40:25 +0000 (19:40 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 11 Jan 2016 19:40:25 +0000 (19:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257373 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h

index fcb036f..84af472 100644 (file)
@@ -106,6 +106,7 @@ private:
       SourceModule = std::move(Other.SourceModule);
       StubsToClone = std::move(Other.StubsToClone);
       StubsMgr = std::move(Other.StubsMgr);
+      return *this;
     }
 
     JITSymbol findSymbol(StringRef Name, bool ExportedSymbolsOnly) {