diff options
Diffstat (limited to 'runtime/stack_map.h')
-rw-r--r-- | runtime/stack_map.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime/stack_map.h b/runtime/stack_map.h index ec37699..6d99672 100644 --- a/runtime/stack_map.h +++ b/runtime/stack_map.h @@ -146,13 +146,14 @@ class DexRegisterMap { return sizeof(LocationKind) + sizeof(int32_t); } - private: + size_t Size() const { + return region_.size(); + } + static constexpr int kFixedSize = 0; + private: MemoryRegion region_; - - friend class CodeInfo; - friend class StackMapStream; }; /** |