Fix an embarassing bug reid noticed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29031 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-07-07 00:01:01 +00:00
parent 8eaafdedb2
commit 408a39b3a0

View File

@ -53,7 +53,7 @@ public:
///
virtual Module* releaseModule(std::string *ErrInfo = 0) {
// Since we're losing control of this Module, we must hand it back complete
if (materializeModule(ErrInfo))
if (!materializeModule(ErrInfo))
return 0;
Module *tempM = TheModule;
TheModule = 0;