Fix a bug in my previous patch which broke building llvm/runtime when using llvm-gcc3.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29041 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-07-07 06:06:06 +00:00
parent 3c8c1639b6
commit 94aa7f3ba8

View 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();