Fix build error from previous commit.

llvm-svn: 167477
This commit is contained in:
Andrew Kaylor 2012-11-06 19:06:46 +00:00
parent 77b0238596
commit 49517a494b

View File

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