mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-08 11:37:03 +00:00
Fix an unused variable warning that Chad noticed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148164 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
20fb487a62
commit
92180988a4
@ -616,7 +616,7 @@ static bool DoesObjCBlockEscape(const Value *BlockPtr) {
|
||||
const User *UUser = *UI;
|
||||
// Special - Use by a call (callee or argument) is not considered
|
||||
// to be an escape.
|
||||
if (ImmutableCallSite CS = cast<Value>(UUser))
|
||||
if (isa<CallInst>(UUser) || isa<InvokeInst>(UUser))
|
||||
continue;
|
||||
if (isa<BitCastInst>(UUser) || isa<GetElementPtrInst>(UUser) ||
|
||||
isa<PHINode>(UUser) || isa<SelectInst>(UUser)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user