diff options
author | 2023-08-24 14:08:33 +0100 | |
---|---|---|
committer | 2023-08-30 13:05:29 +0000 | |
commit | 33d57ac6d1be2127bc31fb55a5054ac84bb7d78d (patch) | |
tree | 453ab97ca94cd0838ca7ee065a24d27ce3e725bd /compiler/optimizing/stack_map_stream.h | |
parent | 834fb38bc0fb16d7d79bc877fced920065bbff82 (diff) |
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
Diffstat (limited to 'compiler/optimizing/stack_map_stream.h')
-rw-r--r-- | compiler/optimizing/stack_map_stream.h | 8 |
1 files changed, 5 insertions, 3 deletions
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<kArenaAllocStackMapStream> { 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<kArenaAllocStackMapStream> { 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<StackMap> stack_maps_; BitTableBuilder<RegisterMask> register_masks_; BitmapTableBuilder stack_masks_; |