mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
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:
parent
8eaafdedb2
commit
408a39b3a0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user