[llvm] r296219 - Remove redundant code. NFC.
Akira Hatanaka via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 24 16:59:50 PST 2017
Author: ahatanak
Date: Fri Feb 24 18:59:49 2017
New Revision: 296219
URL: http://llvm.org/viewvc/llvm-project?rev=296219&view=rev
Log:
Remove redundant code. NFC.
Modified:
llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
Modified: llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp?rev=296219&r1=296218&r2=296219&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp (original)
+++ llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp Fri Feb 24 18:59:49 2017
@@ -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
More information about the llvm-commits
mailing list