mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 22:00:58 +00:00
Add PR to this FIXME, looks like I didn't commit this change after all.
llvm-svn: 83457
This commit is contained in:
parent
27cb155f76
commit
6a66b4edd1
@ -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