[core] Keep R value of kAccPreCompiled flag (#386)

* Although this flag is likely to change on future S release,
   just keep R value for now because we don't want to break
   present DPs. What's more, this flag is always used with
   kAccCompileDontBother, so not removing it should not
   be harmful.

   https://android-review.googlesource.com/c/platform/art/+/1646010
This commit is contained in:
Wang Han 2021-03-20 21:57:56 +08:00 committed by GitHub
parent 40fcde9ce0
commit 9d06351073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ namespace {
size_t ArtMethodSize;
constexpr size_t OFFSET_access_flags_in_ArtMethod = 4;
constexpr uint32_t kAccCompileDontBother = 0x02000000;
constexpr uint32_t kAccPreCompiled = 0x00100000 | 0x00200000;
constexpr uint32_t kAccPreCompiled = 0x00200000;
constexpr uint32_t kAccPublic = 0x0001; // class, field, method, ic
constexpr uint32_t kAccPrivate = 0x0002; // field, method, ic
constexpr uint32_t kAccProtected = 0x0004; // field, method, ic