diff options
author | Gabor Greif <ggreif@gmail.com> | 2010-06-23 21:51:12 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2010-06-23 21:51:12 +0000 |
commit | 02680f946b8dcbeff3b8d7236030678551b15a6c (patch) | |
tree | c05ddddd234db611fa3e5fe72d5626ad9247bdf4 /include/llvm/Analysis/MemoryBuiltins.h | |
parent | e3401c4fae95bc69dada2a3f9080d9f15349af61 (diff) | |
download | external_llvm-02680f946b8dcbeff3b8d7236030678551b15a6c.zip external_llvm-02680f946b8dcbeff3b8d7236030678551b15a6c.tar.gz external_llvm-02680f946b8dcbeff3b8d7236030678551b15a6c.tar.bz2 |
minor enhancement to llvm::isFreeCall API: return CallInst; no functional change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106686 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/MemoryBuiltins.h')
-rw-r--r-- | include/llvm/Analysis/MemoryBuiltins.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/MemoryBuiltins.h b/include/llvm/Analysis/MemoryBuiltins.h index a7f42c9..a4f9162 100644 --- a/include/llvm/Analysis/MemoryBuiltins.h +++ b/include/llvm/Analysis/MemoryBuiltins.h @@ -72,8 +72,8 @@ Value *getMallocArraySize(CallInst *CI, const TargetData *TD, // free Call Utility Functions. // -/// isFreeCall - Returns true if the value is a call to the builtin free() -bool isFreeCall(const Value *I); +/// isFreeCall - Returns non-null if the value is a call to the builtin free() +const CallInst *isFreeCall(const Value *I); } // End llvm namespace |