Initialize MallocFunc and FreeFunc properly.

llvm-svn: 59538
This commit is contained in:
Devang Patel 2008-11-18 18:43:07 +00:00
parent b4e7e859e2
commit a13f1f38fa
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ namespace {
bool doInitialization(Module &M);
virtual bool doInitialization(Function &F) {
return BasicBlockPass::doInitialization(F);
return doInitialization(*F.getParent());
}
/// runOnBasicBlock - This method does the actual work of converting