aboutsummaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-05-15 06:29:44 +0000
committerChris Lattner <sabre@nondot.org>2007-05-15 06:29:44 +0000
commitd67c632d968157e228cf42b588f8759059730ec0 (patch)
treefca3ea6b7b02f290f752fe20fe1f07e4e766f151 /lib/Bitcode/Reader/BitcodeReader.h
parent76c94b616924b19b850e274df0c6485b9395fcb9 (diff)
implement the ModuleProvider::dematerializeFunction hook
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37080 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.h')
-rw-r--r--lib/Bitcode/Reader/BitcodeReader.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Bitcode/Reader/BitcodeReader.h b/lib/Bitcode/Reader/BitcodeReader.h
index b70a99c057..3e0f807d9d 100644
--- a/lib/Bitcode/Reader/BitcodeReader.h
+++ b/lib/Bitcode/Reader/BitcodeReader.h
@@ -123,7 +123,8 @@ public:
virtual bool materializeFunction(Function *F, std::string *ErrInfo = 0);
virtual Module *materializeModule(std::string *ErrInfo = 0);
-
+ virtual void dematerializeFunction(Function *F);
+
bool Error(const char *Str) {
ErrorString = Str;
return true;