diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-10-17 18:26:51 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-10-17 18:26:51 +0000 |
commit | 9573b91c322511fdcd727057dc058ee8c0fdc19c (patch) | |
tree | 16b4725c684ac9df22293cf26bb386833c805fa7 /include/llvm/ModuleProvider.h | |
parent | 5358bc39c11868390fd444a04149d6964f8fdc62 (diff) |
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.h | 2 |
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. /// |