diff options
author | Chris Lattner <sabre@nondot.org> | 2007-05-15 06:29:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-05-15 06:29:44 +0000 |
commit | a6f88ced8b4bc88ac63d2d11a0bcbbe5a54b938a (patch) | |
tree | 19a5a0e508d4a5e096e20902bcb73ea80f8bf18d /llvm/lib/Bitcode/Reader/BitcodeReader.h | |
parent | daed139420a6f524a5ab3295fdf460673c81dddc (diff) | |
download | bcm5719-llvm-a6f88ced8b4bc88ac63d2d11a0bcbbe5a54b938a.tar.gz bcm5719-llvm-a6f88ced8b4bc88ac63d2d11a0bcbbe5a54b938a.zip |
implement the ModuleProvider::dematerializeFunction hook
llvm-svn: 37080
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.h')
-rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.h b/llvm/lib/Bitcode/Reader/BitcodeReader.h index b70a99c0576..3e0f807d9d2 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.h +++ b/llvm/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; |