[llvm-commits] CVS: llvm/include/llvm/ModuleProvider.h

Chris Lattner lattner at cs.uiuc.edu
Tue Sep 30 12:54:01 PDT 2003


Changes in directory llvm/include/llvm:

ModuleProvider.h updated: 1.2 -> 1.3

---
Log message:

make the header comment more useful


---
Diffs of the changes:

Index: llvm/include/llvm/ModuleProvider.h
diff -u llvm/include/llvm/ModuleProvider.h:1.2 llvm/include/llvm/ModuleProvider.h:1.3
--- llvm/include/llvm/ModuleProvider.h:1.2	Mon Sep 22 18:35:23 2003
+++ llvm/include/llvm/ModuleProvider.h	Tue Sep 30 12:53:30 2003
@@ -1,6 +1,10 @@
 //===-- llvm/ModuleProvider.h - Interface for module providers --*- C++ -*-===//
 //
-// Abstract interface for providing a module.
+// This file provides an abstract interface for loading a module from some
+// place.  This interface allows incremental or random access loading of
+// functions from the file.  This is useful for applications like JIT compilers
+// or interprocedural optimizers that do not need the entire program in memory
+// at the same time.
 //
 //===----------------------------------------------------------------------===//
 
@@ -39,7 +43,6 @@
     TheModule = 0; 
     return tempM; 
   }
-
 };
 
 #endif





More information about the llvm-commits mailing list