[llvm] r228425 - [Orc] Fix syntax error in LazyEmittingLayer::removeModuleSet.

Lang Hames lhames at gmail.com
Fri Feb 6 11:34:04 PST 2015


Author: lhames
Date: Fri Feb  6 13:34:04 2015
New Revision: 228425

URL: http://llvm.org/viewvc/llvm-project?rev=228425&view=rev
Log:
[Orc] Fix syntax error in LazyEmittingLayer::removeModuleSet.

This was a trivial think-o, but it's in a method of a templated class
and doesn't have any callers yet, so the compiler let it pass. I hope
to add a unit test to cover this soon.


Modified:
    llvm/trunk/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h

Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h?rev=228425&r1=228424&r2=228425&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h Fri Feb  6 13:34:04 2015
@@ -207,7 +207,7 @@ public:
   ///   This method will free the memory associated with the given module set,
   /// both in this layer, and the base layer.
   void removeModuleSet(ModuleSetHandleT H) {
-    H->RemoveModulesFromBaseLayer();
+    (*H)->RemoveModulesFromBaseLayer(BaseLayer);
     ModuleSetList.erase(H);
   }
 





More information about the llvm-commits mailing list