[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 fcb036fa371d937fbb11638a8a5deebab72ad6f6..84af4728b3504559b6a122bc125f4e99eadbaf8c 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) {