]> granicus.if.org Git - llvm/commitdiff
Remove redundant code. NFC.
authorAkira Hatanaka <ahatanaka@apple.com>
Sat, 25 Feb 2017 00:59:49 +0000 (00:59 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Sat, 25 Feb 2017 00:59:49 +0000 (00:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296219 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/ObjCARC/ObjCARCOpts.cpp

index 23851be3d78db660ea8d8cd7d7b2af3e7f19e88b..3c73376c990680db13eceb113ca3797624f7c12d 100644 (file)
@@ -1723,10 +1723,6 @@ bool ObjCARCOpt::PerformCodePlacement(
       MoveCalls(Arg, RetainsToMove, ReleasesToMove,
                 Retains, Releases, DeadInsts, M);
     }
-
-    // Clean up state for next retain.
-    RetainsToMove.clear();
-    ReleasesToMove.clear();
   }
 
   // Now that we're done moving everything, we can delete the newly dead