Fix a bug in my previous patch which broke building llvm/runtime when using llvm...
authorChris Lattner <sabre@nondot.org>
Fri, 7 Jul 2006 06:06:06 +0000 (06:06 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 7 Jul 2006 06:06:06 +0000 (06:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29041 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bytecode/Reader/Reader.h

index 9cecf52436f29272181d08460a1f0dc816aa3423..da199519c3e1e0edda8e3819cc204d83ea675041 100644 (file)
@@ -187,7 +187,7 @@ public:
   /// here. It simply releases the module from its provided and frees up our
   /// state.
   /// @brief Release our hold on the generated module
-  Module* releaseModule() {
+  Module* releaseModule(std::string *ErrInfo = 0) {
     // Since we're losing control of this Module, we must hand it back complete
     Module *M = ModuleProvider::releaseModule();
     freeState();