forked from OSchip/llvm-project
Initialize MallocFunc and FreeFunc properly.
llvm-svn: 59538
This commit is contained in:
parent
b4e7e859e2
commit
a13f1f38fa
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue