summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Second.java
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2019-04-10 00:31:15 +0100
committerDavid Brazdil <dbrazdil@google.com>2019-04-11 20:46:22 +0000
commit6383207157c7ee82ddfbe5ce732102198d9ad311 (patch)
tree9fa1259d020024e31e2ad0e5e091496399f84936 /test/ProfileTestMultiDex/Second.java
parent1cda64a1ca15c5184e6a7fa9e572caaa6b336772 (diff)
Fix hidden API DCHECK in ArtMethod::SetIntrinsic
SetIntrinsic makes sure that the bits used by hidden API in ArtMethod's access flags do not change after it has been replaced with an intrinsic and hardcoded access flags. This DCHECK was incorrect when the access flags have been modified in order to deduplicate logged warnings. This would happen when compiling the boot image, following a core platform API violation during CompileAll and subsequent intrinsics initialization. Change the DCHECK to recompute the access flags from the correspoding dex file to avoid the issue. Test: compiles Bug: 129063331 Merged-In: I2a9a125392a89d5efcedfec5c5b9af7d4b863fc9 Change-Id: I2a9a125392a89d5efcedfec5c5b9af7d4b863fc9 (cherry picked from commit 31cc2795f72e8cf5ecced188e6b4198a236a26ce)
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions