295e210975
Unboxing of records in return values is switched to use inferred record shape instead of a static type. This is more accurate, as static return type 'Object', 'dynamic' or a type parameter would not prevent record unboxing. TEST=runtime/tests/vm/dart/records_return_value_unboxing_il_test.dart TEST=pkg/vm/testcases/transformations/type_flow/transformer/unboxed_records.dart Issue: https://github.com/dart-lang/sdk/issues/49719 Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-nnbd-linux-debug-x64-try,vm-kernel-precomp-nnbd-linux-release-x64-try Change-Id: I56528e114bc2de94c4a1ec09c48eb5b9ed3c3d3f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/288824 Commit-Queue: Alexander Markov <alexmarkov@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com>
This package hosts VM specific Dart code and helper scripts.