Files
sdk/pkg/vm/testcases/transformations
Alexander Aprelev 56d0115742 [vm/shared] Allow sharing of ffi structs/unions.
Deeply immutable validator runs after the FFI definitions transform so it validates the inserted annotations.

ffi Arrays are not allowed to be shared at the moment. This doesn't prevent sharing structs with arrays because corresponding getter creates a new object.
Whole ffi NativeType hierarchy is not tagged as deeply immutable because of Array.

Updated FE test expectations:
```
$ tools/test.py -m release --vm-options -DupdateExpectations=true --timeout 600 pkg/vm/
$ dart --enable-asserts pkg/front_end/test/coverage_suite.dart --tasks=5 --add-and-remove-comments --update-expectations
$ dart pkg/front_end/tool/update_expectations.dart
```

BUG=https://github.com/dart-lang/sdk/issues/60825
TEST=shared_test

Change-Id: I50378058ddd9bc72eb1b60b22ca26ef936f5ba09
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/440523
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2025-07-17 13:09:52 -07:00
..