diff options
Diffstat (limited to 'llvm/lib/Analysis/ObjCARCInstKind.cpp')
-rw-r--r-- | llvm/lib/Analysis/ObjCARCInstKind.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Analysis/ObjCARCInstKind.cpp b/llvm/lib/Analysis/ObjCARCInstKind.cpp index 0e96c6e975c99..fb416a79ac26e 100644 --- a/llvm/lib/Analysis/ObjCARCInstKind.cpp +++ b/llvm/lib/Analysis/ObjCARCInstKind.cpp @@ -153,7 +153,7 @@ ARCInstKind llvm::objcarc::GetFunctionClass(const Function *F) { } } -// A whitelist of intrinsics that we know do not use objc pointers or decrement +// A list of intrinsics that we know do not use objc pointers or decrement // ref counts. static bool isInertIntrinsic(unsigned ID) { // TODO: Make this into a covered switch. @@ -192,7 +192,7 @@ static bool isInertIntrinsic(unsigned ID) { } } -// A whitelist of intrinsics that we know do not use objc pointers or decrement +// A list of intrinsics that we know do not use objc pointers or decrement // ref counts. static bool isUseOnlyIntrinsic(unsigned ID) { // We are conservative and even though intrinsics are unlikely to touch @@ -234,11 +234,11 @@ ARCInstKind llvm::objcarc::GetARCInstKind(const Value *V) { } // Otherwise, be conservative. - return GetCallSiteClass(CI); + return GetCallSiteClass(*CI); } case Instruction::Invoke: // Otherwise, be conservative. - return GetCallSiteClass(cast<InvokeInst>(I)); + return GetCallSiteClass(cast<InvokeInst>(*I)); case Instruction::BitCast: case Instruction::GetElementPtr: case Instruction::Select: |