1
0
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:
Devang Patel 2008-11-18 18:43:07 +00:00
parent 909692c3cd
commit d8981479c2

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