diff options
author | 2017-02-03 12:09:57 -0800 | |
---|---|---|
committer | 2017-03-08 10:15:06 -0800 | |
commit | 01b47b046b01ec68696f8ff61b5326cdd3af348e (patch) | |
tree | e526306fc89bf6fb04ff914e24343dde0369e98c /runtime/stack_map.h | |
parent | dcab11d06860ae1e23d03926adb6c31f75404032 (diff) |
Inlining a few small methods based on profiling dex2oat with perf.
Test: m test-art-host
Change-Id: I6313158e59592d8d132154523be9c82dda3c7eb8
Diffstat (limited to 'runtime/stack_map.h')
-rw-r--r-- | runtime/stack_map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stack_map.h b/runtime/stack_map.h index 67f0b5715d..d936ce938e 100644 --- a/runtime/stack_map.h +++ b/runtime/stack_map.h @@ -571,7 +571,7 @@ class DexRegisterMap { } } - bool IsDexRegisterLive(uint16_t dex_register_number) const { + ALWAYS_INLINE bool IsDexRegisterLive(uint16_t dex_register_number) const { size_t live_bit_mask_offset_in_bits = GetLiveBitMaskOffset() * kBitsPerByte; return region_.LoadBit(live_bit_mask_offset_in_bits + dex_register_number); } |