Add comments

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11042 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-02-01 00:32:48 +00:00
parent da79bd2322
commit 369b123bc7

View File

@ -35,15 +35,18 @@ public:
///
Module* getModule() { return TheModule; }
/// materializeFunction - make sure the given function is fully read.
/// materializeFunction - make sure the given function is fully read. Note
/// that this can throw an exception if the module is corrupt!
///
virtual void materializeFunction(Function *F) = 0;
/// materializeModule - make sure the entire Module has been completely read.
/// Note that this can throw an exception if the module is corrupt!
///
virtual Module* materializeModule() = 0;
/// releaseModule - no longer delete the Module* when provider is destroyed.
/// Note that this can throw an exception if the module is corrupt!
///
virtual Module* releaseModule() {
// Since we're losing control of this Module, we must hand it back complete