From 8eddd2a379e1d3c76b22f40d3d4387d12ed1a8d1 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Mon, 28 Jul 2014 14:53:22 -0700 Subject: ART: Fix missing initialization in stack_map_stream.h Fixes stack_map_test. Change-Id: Ibd6659b589ec595a7af21ad3d727c0ab2dceb45c --- compiler/optimizing/stack_map_stream.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compiler/optimizing') 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) { -- cgit v1.2.3-59-g8ed1b