forked from OSchip/llvm-project
[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:
parent
a401b9b267
commit
569720629c
llvm/include/llvm/ExecutionEngine/Orc
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue