[objc-arc] Fixed comment typo.
authorMichael Gottesman <mgottesman@apple.com>
Sun, 21 Apr 2013 00:25:04 +0000 (00:25 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Sun, 21 Apr 2013 00:25:04 +0000 (00:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179965 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/ObjCARC/ObjCARCOpts.cpp

index f2f82bad72e883db567023b431c70c53f3fcdb67..4bab97602a48baa373560caf1c5665637d434bb1 100644 (file)
@@ -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 =