diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-07-07 16:21:19 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-07-07 16:21:19 +0000 |
| commit | 4963d1144fef17bbfc9d70b159e48903ea0f2326 (patch) | |
| tree | 701f3e0fa83d55669f86c10a962ed66a779cace7 /clang/lib/Analysis/GRBlockCounter.cpp | |
| parent | 7c3d9cae58375a26f85584cad275d706be58d5d5 (diff) | |
| download | bcm5719-llvm-4963d1144fef17bbfc9d70b159e48903ea0f2326.tar.gz bcm5719-llvm-4963d1144fef17bbfc9d70b159e48903ea0f2326.zip | |
Updated clients of ImmutableMap::SlimFind to use ImmutableMap::lookup instead.
llvm-svn: 53172
Diffstat (limited to 'clang/lib/Analysis/GRBlockCounter.cpp')
| -rw-r--r-- | clang/lib/Analysis/GRBlockCounter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Analysis/GRBlockCounter.cpp b/clang/lib/Analysis/GRBlockCounter.cpp index 3ecc39d3224..f69a16da401 100644 --- a/clang/lib/Analysis/GRBlockCounter.cpp +++ b/clang/lib/Analysis/GRBlockCounter.cpp @@ -30,8 +30,8 @@ static inline CountMap::Factory& GetFactory(void* F) { unsigned GRBlockCounter::getNumVisited(unsigned BlockID) const { CountMap M = GetMap(Data); - CountMap::TreeTy* T = M.SlimFind(BlockID); - return T ? T->getValue().second : 0; + CountMap::data_type* T = M.lookup(BlockID); + return T ? *T : 0; } GRBlockCounter::Factory::Factory(llvm::BumpPtrAllocator& Alloc) { |

