implement the ModuleProvider::dematerializeFunction hook

llvm-svn: 37080
This commit is contained in:
Chris Lattner
2007-05-15 06:29:44 +00:00
parent daed139420
commit a6f88ced8b
2 changed files with 21 additions and 9 deletions

View File

@@ -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;