]> granicus.if.org Git - llvm/commitdiff
[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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307354 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h

index 1dba2146313aae9a27cd3cb53b54b43a45c7b28e..6c951fab61855e5db632243d3d67ab313e8d8a66 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.