Skip to content
Commit d3480f58 authored by Jim Ingham's avatar Jim Ingham
Browse files

Address::GetSection() turns a weak pointer to a shared pointer which is a...

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.

llvm-svn: 183452
parent b1b95d94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment