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.

llvm-svn: 10943
This commit is contained in:
Misha Brukman
2004-01-21 22:54:50 +00:00
parent 2b5dc166a1
commit 2cbec5de52

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;
}