summaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2012-11-06 19:06:46 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2012-11-06 19:06:46 +0000
commita082892fb734f4738f5e687778997706fa0dd65a (patch)
tree827f3c663d9c850fe7cdc8bff241a72db859b262 /lib/ExecutionEngine
parent776054dd938472828ac3ebf75b05e21171ef4ecf (diff)
Fix build error from previous commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167477 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r--lib/ExecutionEngine/MCJIT/MCJIT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/MCJIT/MCJIT.cpp b/lib/ExecutionEngine/MCJIT/MCJIT.cpp
index 91d9441b467..752c5b73ea3 100644
--- a/lib/ExecutionEngine/MCJIT/MCJIT.cpp
+++ b/lib/ExecutionEngine/MCJIT/MCJIT.cpp
@@ -59,7 +59,7 @@ MCJIT::MCJIT(Module *m, TargetMachine *tm, RTDyldMemoryManager *MM,
MCJIT::~MCJIT() {
if (LoadedObject)
- NotifyFreeingObject(LoadedObject.get());
+ NotifyFreeingObject(*LoadedObject.get());
delete MemMgr;
delete TM;
}