56d0115742
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>
This package hosts VM specific Dart code and helper scripts.