[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.

llvm-svn: 228425
This commit is contained in:
Lang Hames 2015-02-06 19:34:04 +00:00
parent a401b9b267
commit 569720629c
1 changed files with 1 additions and 1 deletions
llvm/include/llvm/ExecutionEngine/Orc

View File

@ -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);
}