mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Improved comment. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178605 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
95a16c4dbb
commit
003d5f946d
@ -1440,7 +1440,8 @@ void ObjCARCOpt::OptimizeIndividualCalls(Function &F) {
|
||||
break;
|
||||
}
|
||||
|
||||
// objc_autorelease(x) -> objc_release(x) if x is otherwise unused.
|
||||
// objc_autorelease(x), objc_autoreleaseRV -> objc_release(x) if x is
|
||||
// otherwise unused.
|
||||
if (IsAutorelease(Class) && Inst->use_empty()) {
|
||||
CallInst *Call = cast<CallInst>(Inst);
|
||||
const Value *Arg = Call->getArgOperand(0);
|
||||
|
Loading…
Reference in New Issue
Block a user