summaryrefslogtreecommitdiff
path: root/include/llvm/ModuleProvider.h
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-10-17 18:26:51 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-10-17 18:26:51 +0000
commit9573b91c322511fdcd727057dc058ee8c0fdc19c (patch)
tree16b4725c684ac9df22293cf26bb386833c805fa7 /include/llvm/ModuleProvider.h
parent5358bc39c11868390fd444a04149d6964f8fdc62 (diff)
downloadllvm-9573b91c322511fdcd727057dc058ee8c0fdc19c.tar.gz
llvm-9573b91c322511fdcd727057dc058ee8c0fdc19c.tar.bz2
llvm-9573b91c322511fdcd727057dc058ee8c0fdc19c.tar.xz
Return the Module being materialized to avoid always calling getModule().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9198 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ModuleProvider.h')
-rw-r--r--include/llvm/ModuleProvider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ModuleProvider.h b/include/llvm/ModuleProvider.h
index 8f7010360c..847fda985b 100644
--- a/include/llvm/ModuleProvider.h
+++ b/include/llvm/ModuleProvider.h
@@ -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.
///