diff options
Diffstat (limited to 'runtime/stack_map.h')
-rw-r--r-- | runtime/stack_map.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/stack_map.h b/runtime/stack_map.h index ffa17c9543..a22498661e 100644 --- a/runtime/stack_map.h +++ b/runtime/stack_map.h @@ -688,7 +688,13 @@ struct FieldEncoding { class StackMapEncoding { public: - StackMapEncoding() {} + StackMapEncoding() + : dex_pc_bit_offset_(0), + dex_register_map_bit_offset_(0), + inline_info_bit_offset_(0), + register_mask_index_bit_offset_(0), + stack_mask_index_bit_offset_(0), + total_bit_size_(0) {} // Set stack map bit layout based on given sizes. // Returns the size of stack map in bits. |