diff options
author | Alina Sbirlea <asbirlea@google.com> | 2019-03-21 05:02:05 +0000 |
---|---|---|
committer | Alina Sbirlea <asbirlea@google.com> | 2019-03-21 05:02:05 +0000 |
commit | 4fdbd822fc1a3a20197d51cda1b2cc8e6f14df7b (patch) | |
tree | 0bfed6a0874a7b267663e1f3a664190b8632c84a /llvm/lib/Object/ObjectFile.cpp | |
parent | a262531dd2ed2c5591c72adf4949a0cdc65ef061 (diff) | |
download | llvm-4fdbd822fc1a3a20197d51cda1b2cc8e6f14df7b.zip llvm-4fdbd822fc1a3a20197d51cda1b2cc8e6f14df7b.tar.gz llvm-4fdbd822fc1a3a20197d51cda1b2cc8e6f14df7b.tar.bz2 |
[BasicAA] Reduce no of map seaches [NFCI].
Summary:
This is a refactoring patch.
- Reduce the number of map searches by reusing the iterator.
- Add asserts to check that the entry is in the cache, as this is something BasicAA relies on to avoid infinite recursion.
Reviewers: chandlerc, aschwaighofer
Subscribers: sanjoy, jlebar, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D59151
llvm-svn: 356644
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions