diff options
author | Lang Hames <lhames@gmail.com> | 2015-02-06 19:34:04 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2015-02-06 19:34:04 +0000 |
commit | 569720629c756c4084afd18dfc381d0c09f9564c (patch) | |
tree | 25b92d6be4e066cadba7b3576f731e7b74c4684a | |
parent | a401b9b267d650dfdd60e4ba7744e97a9dce52e4 (diff) | |
download | bcm5719-llvm-569720629c756c4084afd18dfc381d0c09f9564c.tar.gz bcm5719-llvm-569720629c756c4084afd18dfc381d0c09f9564c.zip |
[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
-rw-r--r-- | llvm/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h b/llvm/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h index c9463e4071a..6b625e5e89d 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h @@ -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); } |