Files
sdk/runtime
Alexander Markov 6503d8a3da [vm] Fix inconsistent static_type_exactness_state for fields without guarded cid
Static type exactness can be tracked only if field has a guarded cid.
This change fixes initialization of static type exactness state
to avoid Uninitialized state for fields without field guards.
This matches assertion in Field::GuardedPropertiesAsCString().

TEST=manually verified repro from the issue
(assertion was triggered only with --disassemble,
hence no regression test)

Fixes https://github.com/dart-lang/sdk/issues/55482

Change-Id: I3e7eba1a82d4351bacc7462143ec16b35d9ac939
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/363503
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2024-04-19 13:24:17 +00:00
..
2024-04-18 10:22:01 +00:00