diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-04-28 13:49:42 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-04-28 13:49:42 +0000 |
commit | 6fd644a6ab2268a76dfa1cfbf6d293ff209cabc7 (patch) | |
tree | e9bae0a21b59bdb16eddc9488b0b43c64f16b2df /lib/Analysis/CFRefCount.cpp | |
parent | 9f9bf258f8ebae30bfb70feb9d797d6eb67b0460 (diff) |
Now we can remove the 'blast-through' code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r-- | lib/Analysis/CFRefCount.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp index 538f4f2722..8a8c704d62 100644 --- a/lib/Analysis/CFRefCount.cpp +++ b/lib/Analysis/CFRefCount.cpp @@ -1904,13 +1904,6 @@ void CFRefCount::EvalSummary(ExplodedNodeSet<GRState>& Dst, const TypedRegion* R = dyn_cast<TypedRegion>(MR->getRegion()); - // Blast through TypedViewRegions to get the original region type. - while (R) { - const TypedViewRegion* ATR = dyn_cast<TypedViewRegion>(R); - if (!ATR) break; - R = dyn_cast<TypedRegion>(ATR->getSuperRegion()); - } - if (R) { // Is the invalidated variable something that we were tracking? SymbolRef Sym = state.GetSValAsScalarOrLoc(R).getAsLocSymbol(); |