diff options
author | Andra Danciu <andradanciu@google.com> | 2020-09-07 15:50:40 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2020-09-08 10:56:45 +0000 |
commit | 63c0c2d9da31d26781f5e77aba6125f0d0988795 (patch) | |
tree | b80d12dee72053edd1feddf115a602ff51a328a2 /compiler/optimizing/instruction_builder.cc | |
parent | 5c2914dd610e21e9a4a2bbe5c2e28b29f1cd37d6 (diff) |
X86: Fix bug in GenerateVarHandleAccessModeCheck
The condition of taking the slow path for VarHandle access mode check
was reversed.
Solving this bug revealed another problem: in the case of an instance
field, the object might be null. The null check is now done for the
object.
Test: art/test.py --host --32 -r -t 712-varhandle-invocations
Bug: 65872996
Change-Id: I8d047cc0ecba3d05178ea67945afe762c545c27e
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
0 files changed, 0 insertions, 0 deletions