Return the Module being materialized to avoid always calling getModule().
authorMisha Brukman <brukman+llvm@gmail.com>
Fri, 17 Oct 2003 18:26:51 +0000 (18:26 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Fri, 17 Oct 2003 18:26:51 +0000 (18:26 +0000)
llvm-svn: 9198

llvm/include/llvm/ModuleProvider.h

index 8f70103..847fda9 100644 (file)
@@ -32,7 +32,7 @@ public:
 
   /// materializeModule - make sure the entire Module has been completely read.
   ///
-  void materializeModule();
+  Module* materializeModule();
 
   /// releaseModule - no longer delete the Module* when provider is destroyed.
   ///