[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Reader.h
Reid Spencer
reid at x10sys.com
Sat Nov 11 03:54:43 PST 2006
Changes in directory llvm/lib/Bytecode/Reader:
Reader.h updated: 1.36 -> 1.37
---
Log message:
For PR998: http://llvm.org/PR998 :
Fix an infinite loop in the Linker and a few other assorted link problems.
Patch contributed by Scott Michel. Thanks, Scott!
---
Diffs of the changes: (+1 -1)
Reader.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Bytecode/Reader/Reader.h
diff -u llvm/lib/Bytecode/Reader/Reader.h:1.36 llvm/lib/Bytecode/Reader/Reader.h:1.37
--- llvm/lib/Bytecode/Reader/Reader.h:1.36 Wed Nov 8 15:27:54 2006
+++ llvm/lib/Bytecode/Reader/Reader.h Sat Nov 11 05:54:25 2006
@@ -181,7 +181,7 @@
/// @brief Release our hold on the generated module
Module* releaseModule(std::string *ErrInfo = 0) {
// Since we're losing control of this Module, we must hand it back complete
- Module *M = ModuleProvider::releaseModule();
+ Module *M = ModuleProvider::releaseModule(ErrInfo);
freeState();
return M;
}
More information about the llvm-commits
mailing list