Let subclasses implement ModuleProvider::materializeModule() which is based on

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
This commit is contained in:
Misha Brukman 2004-01-21 22:54:50 +00:00
parent c0039e25a4
commit ce218c6492

View File

@ -24,15 +24,3 @@ ModuleProvider::ModuleProvider() : TheModule(0) { }
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;
}