From 33d57ac6d1be2127bc31fb55a5054ac84bb7d78d Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Thu, 24 Aug 2023 14:08:33 +0100 Subject: Move HasShouldDeoptimizeFlag from method header to CodeInfo. We don't have room for the extra bit if the code size is greater than 1GB. Bug: 288215378 Bug: 288833213 Bug: 297093110 Test: ./art/test.py -b --host --64 Change-Id: I0070b270c7fe03f2f6fbb26223e78de41305c547 --- compiler/optimizing/stack_map_stream.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'compiler/optimizing/stack_map_stream.h') diff --git a/compiler/optimizing/stack_map_stream.h b/compiler/optimizing/stack_map_stream.h index 643af2da94..f027850ce6 100644 --- a/compiler/optimizing/stack_map_stream.h +++ b/compiler/optimizing/stack_map_stream.h @@ -66,7 +66,8 @@ class StackMapStream : public DeletableArenaObject { size_t fp_spill_mask, uint32_t num_dex_registers, bool baseline, - bool debuggable); + bool debuggable, + bool has_should_deoptimize_flag = false); void EndMethod(size_t code_size); void BeginStackMapEntry( @@ -129,8 +130,9 @@ class StackMapStream : public DeletableArenaObject { uint32_t core_spill_mask_ = 0; uint32_t fp_spill_mask_ = 0; uint32_t num_dex_registers_ = 0; - bool baseline_; - bool debuggable_; + bool baseline_ = false; + bool debuggable_ = false; + bool has_should_deoptimize_flag_ = false; BitTableBuilder stack_maps_; BitTableBuilder register_masks_; BitmapTableBuilder stack_masks_; -- cgit v1.2.3-59-g8ed1b