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 | f006b183e2d2bebcf6968d1dd7350397c95b0325 (patch) | |
tree | cebeb571289f6a8def49f3ad3d873f4fbe4957b7 /lib/VMCore/Instruction.cpp | |
parent | a2281e72dcf6ee661d0a0336ca115bdb9ff1d191 (diff) | |
download | external_llvm-f006b183e2d2bebcf6968d1dd7350397c95b0325.zip external_llvm-f006b183e2d2bebcf6968d1dd7350397c95b0325.tar.gz external_llvm-f006b183e2d2bebcf6968d1dd7350397c95b0325.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/Instruction.cpp')
-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) { |