diff options
author | Andreas Gampe <agampe@google.com> | 2014-07-28 14:53:22 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-07-28 14:53:49 -0700 |
commit | 8eddd2a379e1d3c76b22f40d3d4387d12ed1a8d1 (patch) | |
tree | d265344c32c5bf37d356fcb4871f57a1250d16b6 /compiler/optimizing/stack_map_stream.h | |
parent | daa31c58ec2fec209f8fdc383bf10dd2e2c64512 (diff) |
ART: Fix missing initialization in stack_map_stream.h
Fixes stack_map_test.
Change-Id: Ibd6659b589ec595a7af21ad3d727c0ab2dceb45c
Diffstat (limited to 'compiler/optimizing/stack_map_stream.h')
-rw-r--r-- | compiler/optimizing/stack_map_stream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/stack_map_stream.h b/compiler/optimizing/stack_map_stream.h index 3c6ad8fd72..5e1329e63c 100644 --- a/compiler/optimizing/stack_map_stream.h +++ b/compiler/optimizing/stack_map_stream.h @@ -35,7 +35,8 @@ class StackMapStream : public ValueObject { : stack_maps_(allocator, 10), dex_register_maps_(allocator, 10 * 4), inline_infos_(allocator, 2), - stack_mask_max_(-1) {} + stack_mask_max_(-1), + number_of_stack_maps_with_inline_info_(0) {} // Compute bytes needed to encode a mask with the given maximum element. static uint32_t StackMaskEncodingSize(int max_element) { |