diff options
Diffstat (limited to 'libdexfile/dex/modifiers.h')
| -rw-r--r-- | libdexfile/dex/modifiers.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libdexfile/dex/modifiers.h b/libdexfile/dex/modifiers.h index 018b1419b1..c4ea2d39b4 100644 --- a/libdexfile/dex/modifiers.h +++ b/libdexfile/dex/modifiers.h @@ -86,9 +86,9 @@ static constexpr uint32_t kAccSingleImplementation = 0x08000000; // method (ru 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 = 0x40000000; +// Non-intrinsics: Caches whether we can use fast-path in the interpreter invokes. +// Intrinsics: These bits are part of the intrinsic ordinal. +static constexpr uint32_t kAccFastInterpreterToInterpreterInvoke = 0x40000000; // method. // Set by the compiler driver when compiling boot classes with instrinsic methods. static constexpr uint32_t kAccIntrinsic = 0x80000000; // method (runtime) @@ -103,9 +103,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 | kAccHiddenApiBits | +static constexpr uint32_t kAccIntrinsicBits = kAccHiddenApiBits | kAccSingleImplementation | kAccMustCountLocks | kAccCompileDontBother | kAccDefaultConflict | - kAccPreviouslyWarm; + kAccPreviouslyWarm | kAccFastInterpreterToInterpreterInvoke; // Valid (meaningful) bits for a field. static constexpr uint32_t kAccValidFieldFlags = kAccPublic | kAccPrivate | kAccProtected | |