[llvm-commits] CVS: llvm/lib/VMCore/ModuleProvider.cpp

Misha Brukman brukman at cs.uiuc.edu
Wed Jan 21 16:56:01 PST 2004


Changes in directory llvm/lib/VMCore:

ModuleProvider.cpp updated: 1.8 -> 1.9

---
Log message:

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.


---
Diffs of the changes:  (+0 -12)

Index: llvm/lib/VMCore/ModuleProvider.cpp
diff -u llvm/lib/VMCore/ModuleProvider.cpp:1.8 llvm/lib/VMCore/ModuleProvider.cpp:1.9
--- llvm/lib/VMCore/ModuleProvider.cpp:1.8	Fri Nov 21 14:23:48 2003
+++ llvm/lib/VMCore/ModuleProvider.cpp	Wed Jan 21 16:54:50 2004
@@ -24,15 +24,3 @@
 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;
-}





More information about the llvm-commits mailing list