mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-01 01:15:55 +00:00
Add PR to this FIXME, looks like I didn't commit this change after all.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83457 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
83ed76869e
commit
4de86fe0d7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user