commit | 09c5ca40635faee00f40f6ca0581dd475efd545e | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu May 31 15:15:31 2018 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Fri Jun 01 11:16:58 2018 +0100 |
tree | 5fb13e8eebec283d8c41ce874fbd471f93915fd1 | |
parent | 317892b756cd2a87c01928b09e99e020c86dea10 [diff] |
Clean up class resolution and lookup. Simplify the code and avoid read barriers when appropriate. Relax class status check in ArtField::GetDeclaringClass() because we can see ClassStatus::kIdx from the from-space class object for kReadBarrierOption=kWithoutReadBarrier. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: I83886a64fe5a99a1c3c30eab3b35dae449e6b4bc