Changes in directory llvm/include/llvm:

ModuleProvider.h updated: 1.12 -> 1.13
---
Log message:

Fix an embarassing bug reid noticed


---
Diffs of the changes:  (+1 -1)

 ModuleProvider.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/include/llvm/ModuleProvider.h
diff -u llvm/include/llvm/ModuleProvider.h:1.12 
llvm/include/llvm/ModuleProvider.h:1.13
--- llvm/include/llvm/ModuleProvider.h:1.12     Thu Jul  6 16:35:01 2006
+++ llvm/include/llvm/ModuleProvider.h  Thu Jul  6 19:01:01 2006
@@ -53,7 +53,7 @@
   ///
   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;



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to