[cfe-commits] r63176 - /cfe/trunk/lib/Analysis/CFRefCount.cpp

Ted Kremenek kremenek at apple.com
Tue Jan 27 20:37:53 PST 2009


Author: kremenek
Date: Tue Jan 27 22:37:52 2009
New Revision: 63176

URL: http://llvm.org/viewvc/llvm-project?rev=63176&view=rev
Log:
Remove '#if 0' code.

Modified:
    cfe/trunk/lib/Analysis/CFRefCount.cpp

Modified: cfe/trunk/lib/Analysis/CFRefCount.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/CFRefCount.cpp?rev=63176&r1=63175&r2=63176&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/CFRefCount.cpp (original)
+++ cfe/trunk/lib/Analysis/CFRefCount.cpp Tue Jan 27 22:37:52 2009
@@ -1524,10 +1524,6 @@
         }
     }  
     else if (isa<Loc>(V)) {
-#if 0
-      // Nuke all arguments passed by reference.
-      StateMgr.Unbind(StVals, cast<Loc>(V));
-#else
       if (loc::MemRegionVal* MR = dyn_cast<loc::MemRegionVal>(&V)) {
 
         if (GetArgE(Summ, idx) == DoNothingByRef)
@@ -1588,7 +1584,6 @@
         // Nuke all other arguments passed by reference.
         state = state.Unbind(cast<Loc>(V));
       }
-#endif
     }
     else if (isa<nonloc::LocAsInteger>(V))
       state = state.Unbind(cast<nonloc::LocAsInteger>(V).getLoc());





More information about the cfe-commits mailing list