diff options
author | Devang Patel <dpatel@apple.com> | 2008-11-18 18:43:07 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-11-18 18:43:07 +0000 |
commit | 4f3096b6af12739bc399b30a19a2638a21b2539c (patch) | |
tree | a3c02947012716ec81769d6cd4589da0acabc5d4 /lib/Transforms/Utils/LowerAllocations.cpp | |
parent | 3dbc4e350216e197e3014452400f43899f7ad620 (diff) |
Initialize MallocFunc and FreeFunc properly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59538 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/LowerAllocations.cpp')
-rw-r--r-- | lib/Transforms/Utils/LowerAllocations.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/LowerAllocations.cpp b/lib/Transforms/Utils/LowerAllocations.cpp index 792e98ea42..6c59926017 100644 --- a/lib/Transforms/Utils/LowerAllocations.cpp +++ b/lib/Transforms/Utils/LowerAllocations.cpp @@ -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 |