[llvm-commits] [llvm] r173202 - /llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp

Michael Gottesman mgottesman at apple.com
Tue Jan 22 13:53:43 PST 2013


Author: mgottesman
Date: Tue Jan 22 15:53:43 2013
New Revision: 173202

URL: http://llvm.org/viewvc/llvm-project?rev=173202&view=rev
Log:
Fixed typo.

Modified:
    llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp?rev=173202&r1=173201&r2=173202&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp Tue Jan 22 15:53:43 2013
@@ -3576,9 +3576,8 @@
   Changed = true;
   assert(OldCount != 0 && "Unreachable code?");
   NumRRs += OldCount - NewCount;
-
   // Set to true if we completely removed any RR pairs.
-  AnyPairsCompletelyEliminated |= NewCount == 0;
+  AnyPairsCompletelyEliminated = NewCount == 0;
 
   // We can move calls!
   return true;





More information about the llvm-commits mailing list