[llvm] r196006 - Use accessor methods instead.

Bill Wendling isanbard at gmail.com
Sat Nov 30 19:40:42 PST 2013


Author: void
Date: Sat Nov 30 21:40:42 2013
New Revision: 196006

URL: http://llvm.org/viewvc/llvm-project?rev=196006&view=rev
Log:
Use accessor methods instead.

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=196006&r1=196005&r2=196006&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp (original)
+++ llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp Sat Nov 30 21:40:42 2013
@@ -538,8 +538,7 @@ namespace {
 
 void
 PtrState::Merge(const PtrState &Other, bool TopDown) {
-  Seq = MergeSeqs(static_cast<Sequence>(Seq), static_cast<Sequence>(Other.Seq),
-                  TopDown);
+  Seq = MergeSeqs(GetSeq(), Other.GetSeq(), TopDown);
   KnownPositiveRefCount &= Other.KnownPositiveRefCount;
 
   // If we're not in a sequence (anymore), drop all associated state.





More information about the llvm-commits mailing list