projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dbc4e3
)
Initialize MallocFunc and FreeFunc properly.
author
Devang Patel
<dpatel@apple.com>
Tue, 18 Nov 2008 18:43:07 +0000
(18:43 +0000)
committer
Devang Patel
<dpatel@apple.com>
Tue, 18 Nov 2008 18:43:07 +0000
(18:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59538
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/LowerAllocations.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/LowerAllocations.cpp
b/lib/Transforms/Utils/LowerAllocations.cpp
index 792e98ea428582c0cde363ed9600bbef7612c115..6c59926017106da02f4b30afcc76d9d7af67ad68 100644
(file)
--- 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