diff options
| author | Torok Edwin <edwintorok@gmail.com> | 2009-10-07 09:22:55 +0000 |
|---|---|---|
| committer | Torok Edwin <edwintorok@gmail.com> | 2009-10-07 09:22:55 +0000 |
| commit | a4560bad975b66a85438691012fa7027ea72d7c8 (patch) | |
| tree | ed3653668e54cc4e179195e237b170815edf4635 /llvm/lib/Analysis | |
| parent | 986742a14ff8e694feb705c5c33c725b19ea157b (diff) | |
| download | bcm5719-llvm-a4560bad975b66a85438691012fa7027ea72d7c8.tar.gz bcm5719-llvm-a4560bad975b66a85438691012fa7027ea72d7c8.zip | |
Add PR to this FIXME, looks like I didn't commit this change after all.
llvm-svn: 83457
Diffstat (limited to 'llvm/lib/Analysis')
| -rw-r--r-- | llvm/lib/Analysis/MallocHelper.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/MallocHelper.cpp b/llvm/lib/Analysis/MallocHelper.cpp index 1a8665b6f6f..89051d17883 100644 --- a/llvm/lib/Analysis/MallocHelper.cpp +++ b/llvm/lib/Analysis/MallocHelper.cpp @@ -40,7 +40,8 @@ static bool isMallocCall(const CallInst *CI) { return false; // Check malloc prototype. - // FIXME: this will be obsolete when nobuiltin attribute will exist. + // FIXME: workaround for PR5130, this will be obsolete when a nobuiltin + // attribute will exist. const FunctionType *FTy = MallocFunc->getFunctionType(); if (FTy->getNumParams() != 1) return false; |

