commit | 98c608262aa9bfb48aa8d3af388e0b62576716b1 | [log] [tgz] |
---|---|---|
author | Jim Ingham <jingham@apple.com> | Thu Jun 06 22:16:56 2013 +0000 |
committer | Jim Ingham <jingham@apple.com> | Thu Jun 06 22:16:56 2013 +0000 |
tree | 2bab05f61c6a9bc5f8770f67fcd89c3464733e5d | |
parent | d39de039f8beb6496ab3a7a485d0dcf1ce19f2ba [diff] |
Address::GetSection() turns a weak pointer to a shared pointer which is a little slow. So in Address::operator== & != do the cheap GetOffset() comparison first and only compare the sections if that is true. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183452 91177308-0d34-0410-b5e6-96231b3b80d8