mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
An objc_retain can serve as a may-use for a different pointer.
rdar://11931823. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160637 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2829,7 +2829,10 @@ ObjCARCOpt::VisitInstructionTopDown(Instruction *Inst,
|
||||
}
|
||||
|
||||
S.IncrementNestCount();
|
||||
return NestingDetected;
|
||||
|
||||
// A retain can be a potential use; procede to the generic checking
|
||||
// code below.
|
||||
break;
|
||||
}
|
||||
case IC_Release: {
|
||||
Arg = GetObjCArg(Inst);
|
||||
|
Reference in New Issue
Block a user