diff options
Diffstat (limited to 'runtime/modifiers.h')
-rw-r--r-- | runtime/modifiers.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/runtime/modifiers.h b/runtime/modifiers.h index a72f9daad6..0e2db932bb 100644 --- a/runtime/modifiers.h +++ b/runtime/modifiers.h @@ -89,9 +89,11 @@ static constexpr uint32_t kAccMustCountLocks = 0x04000000; // method (ru // virtual call. static constexpr uint32_t kAccSingleImplementation = 0x08000000; // method (runtime) +static constexpr uint32_t kAccHiddenApiBits = 0x30000000; // field, method + // Not currently used, except for intrinsic methods where these bits // are part of the intrinsic ordinal. -static constexpr uint32_t kAccMayBeUnusedBits = 0x70000000; +static constexpr uint32_t kAccMayBeUnusedBits = 0x40000000; // Set by the compiler driver when compiling boot classes with instrinsic methods. static constexpr uint32_t kAccIntrinsic = 0x80000000; // method (runtime) @@ -106,8 +108,9 @@ static constexpr uint32_t kAccClassIsFinalizable = 0x80000000; // Continuous sequence of bits used to hold the ordinal of an intrinsic method. Flags // which overlap are not valid when kAccIntrinsic is set. -static constexpr uint32_t kAccIntrinsicBits = kAccMayBeUnusedBits | kAccSingleImplementation | - kAccMustCountLocks | kAccCompileDontBother | kAccDefaultConflict | kAccPreviouslyWarm; +static constexpr uint32_t kAccIntrinsicBits = kAccMayBeUnusedBits | kAccHiddenApiBits | + kAccSingleImplementation | kAccMustCountLocks | kAccCompileDontBother | kAccDefaultConflict | + kAccPreviouslyWarm; // Valid (meaningful) bits for a field. static constexpr uint32_t kAccValidFieldFlags = kAccPublic | kAccPrivate | kAccProtected | |