diff options
author | David Brazdil <dbrazdil@google.com> | 2018-04-23 13:50:38 +0100 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2018-05-08 10:32:23 +0100 |
commit | 166546c3579b7a9deb413f8e44ad94b8ed41335b (patch) | |
tree | 766450bb9576909e925c5e7d5e1b81c25dd05839 /compiler/optimizing/graph_visualizer.cc | |
parent | 2e6f69c704202d41f0ab5ab0aa65583a26184e51 (diff) |
Fix hidden API flags decoding for intrinsics
Hidden API decision logic would try to decode the access flags of
intrinsics directly, bypassing the override in ArtMethod. This patch
get hidden_api.h to use the same code path.
This also fixes CtsHiddenApiDiscoveryTestCases where the access flags
of blacklisted APIs are tested. VarHandle intrinsics would not pass.
Bug: 64382372
Bug: 72430785
Bug: 78230396
Test: cts-tradefed run cts --module CtsHiddenApiDiscoveryTestCases
Merged-In: I080313dd91bbee2d7d98b00c02e224974b344c01
Change-Id: I080313dd91bbee2d7d98b00c02e224974b344c01
(cherry picked from commit 14c212a44ac9a3ad12025ebf30836129669fa949)
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions