[Orc] Add missing return value (left out in r307350).
authorLang Hames <lhames@gmail.com>
Fri, 7 Jul 2017 03:22:57 +0000 (03:22 +0000)
committerLang Hames <lhames@gmail.com>
Fri, 7 Jul 2017 03:22:57 +0000 (03:22 +0000)
llvm-svn: 307354

llvm/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h

index 1dba214..6c951fa 100644 (file)
@@ -228,6 +228,7 @@ public:
   Error removeModule(ModuleHandleT H) {
     (*H)->removeModuleFromBaseLayer(BaseLayer);
     ModuleList.erase(H);
+    return Error::success();
   }
 
   /// @brief Search for the given named symbol.