mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Initialize MallocFunc and FreeFunc properly.
llvm-svn: 59538
This commit is contained in:
parent
909692c3cd
commit
d8981479c2
@ -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
Block a user