summaryrefslogtreecommitdiff
path: root/libnativeloader/native_loader_test.cpp
diff options
context:
space:
mode:
authorAndra Danciu <andradanciu@google.com>2020-09-07 15:50:40 +0000
committerVladimir Marko <vmarko@google.com>2020-09-08 10:56:45 +0000
commit63c0c2d9da31d26781f5e77aba6125f0d0988795 (patch)
treeb80d12dee72053edd1feddf115a602ff51a328a2 /libnativeloader/native_loader_test.cpp
parent5c2914dd610e21e9a4a2bbe5c2e28b29f1cd37d6 (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 'libnativeloader/native_loader_test.cpp')
0 files changed, 0 insertions, 0 deletions