commit | eae6a7121925b95477b92b404d85645e665bc948 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Fri Feb 05 13:33:28 2021 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Mon Feb 08 10:49:38 2021 +0000 |
tree | 1a2155272c19c5aa60ad5eebe27e881f87e63088 | |
parent | 1ee12675375f97790f2ad2bbd0196c1847f858fb [diff] |
Avoid an unnecessary ComputeModifiedUtf8Hash(). The DescriptorHashPair already has the hash as the member `second`, so avoid recalculating it in release mode. Also split "HashEquals" classes into separate "Hash" and "Equals" classes to disambiguate their operators in traces. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 175869411 Change-Id: I87cbe613778c7d310ba5c2bf437729244780472c