aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-01-28 04:37:52 +0000
committerTed Kremenek <kremenek@apple.com>2009-01-28 04:37:52 +0000
commit1d549a8cf2ba6847b3c35ede96ea761931916f0f (patch)
treec822dbbff25f451d08e26536bae6534edf592329 /lib/Analysis/CFRefCount.cpp
parent46157b59646e3fd4252747c679fda529b8bf46af (diff)
Remove '#if 0' code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63176 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r--lib/Analysis/CFRefCount.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp
index bfc9d9058b..0f2208bd89 100644
--- a/lib/Analysis/CFRefCount.cpp
+++ b/lib/Analysis/CFRefCount.cpp
@@ -1524,10 +1524,6 @@ void CFRefCount::EvalSummary(ExplodedNodeSet<GRState>& Dst,
}
}
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 @@ void CFRefCount::EvalSummary(ExplodedNodeSet<GRState>& Dst,
// 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());