aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-04-21 00:25:04 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-04-21 00:25:04 +0000
commitee37359762d32db7885256a003a03a5f70860181 (patch)
treed7d364700791e1ed444fec1e9f08f72d9d86d76b /lib/Transforms/ObjCARC/ObjCARCOpts.cpp
parent9f2b618ac5064d23b91c56fe8e7940a0be41371c (diff)
[objc-arc] Fixed comment typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179965 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/ObjCARC/ObjCARCOpts.cpp')
-rw-r--r--lib/Transforms/ObjCARC/ObjCARCOpts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
index f2f82bad72..4bab97602a 100644
--- a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
+++ b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
@@ -2958,7 +2958,7 @@ void ObjCARCOpt::OptimizeReturns(Function &F) {
const Value *Arg = StripPointerCastsAndObjCCalls(Ret->getOperand(0));
- // Look for an ``autorelease'' instruction that is a predecssor of Ret and
+ // Look for an ``autorelease'' instruction that is a predecessor of Ret and
// dependent on Arg such that there are no instructions dependent on Arg
// that need a positive ref count in between the autorelease and Ret.
CallInst *Autorelease =