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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228425
91177308-0d34-0410-b5e6-
96231b3b80d8
/// 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);
}