diff options
author | Victor Hernandez <vhernandez@apple.com> | 2009-10-27 20:05:49 +0000 |
---|---|---|
committer | Victor Hernandez <vhernandez@apple.com> | 2009-10-27 20:05:49 +0000 |
commit | 28f4d2fb94b9057d8daba2128867fde276a37d1b (patch) | |
tree | cebeb571289f6a8def49f3ad3d873f4fbe4957b7 /lib/VMCore | |
parent | 408a5e530b3dd17cc789c538a2f3020501a13a59 (diff) | |
download | external_llvm-28f4d2fb94b9057d8daba2128867fde276a37d1b.zip external_llvm-28f4d2fb94b9057d8daba2128867fde276a37d1b.tar.gz external_llvm-28f4d2fb94b9057d8daba2128867fde276a37d1b.tar.bz2 |
Rename MallocFreeHelper as MemoryBuiltins
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85286 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/Instruction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp index 4e89222..4dbb402 100644 --- a/lib/VMCore/Instruction.cpp +++ b/lib/VMCore/Instruction.cpp @@ -303,7 +303,7 @@ bool Instruction::isUsedOutsideOfBlock(const BasicBlock *BB) const { return false; } -// Code here matches isFreeCall from MallocFreeHelper, which is not in VMCore. +// Code here matches isFreeCall from MemoryBuiltins, which is not in VMCore. static bool isFreeCall(const Value* I) { const CallInst *CI = dyn_cast<CallInst>(I); if (!CI) @@ -408,7 +408,7 @@ bool Instruction::isCommutative(unsigned op) { } } -// Code here matches isMalloc from MallocFreeHelper, which is not in VMCore. +// Code here matches isMalloc from MemoryBuiltins, which is not in VMCore. static bool isMalloc(const Value* I) { const CallInst *CI = dyn_cast<CallInst>(I); if (!CI) { |