diff options
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Utils/LowerAllocations.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Transforms/Utils/LowerAllocations.cpp b/lib/Transforms/Utils/LowerAllocations.cpp index f3c1a79052..3bbec3dfd9 100644 --- a/lib/Transforms/Utils/LowerAllocations.cpp +++ b/lib/Transforms/Utils/LowerAllocations.cpp @@ -37,6 +37,9 @@ namespace { /// a module contains a declaration for a malloc and a free function. /// bool doInitialization(Module &M); + + virtual bool doInitialization(Function&f) + { return BasicBlockPass::doInitialization(f); } /// runOnBasicBlock - This method does the actual work of converting /// instructions over, assuming that the pass has already been initialized. |