their implementation of book-keeping for which functions need to be materialized
and which don't.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10943
91177308-0d34-0410-b5e6-
96231b3b80d8
ModuleProvider::~ModuleProvider() {
delete TheModule;
}
-
-/// materializeFunction - make sure the given function is fully read.
-///
-Module* ModuleProvider::materializeModule() {
- assert(TheModule && "Attempting to materialize an invalid module!");
-
- for (Module::iterator i = TheModule->begin(), e = TheModule->end();
- i != e; ++i)
- materializeFunction(i);
-
- return TheModule;
-}