52930fe2b9
Since they are accessed via closures, dynamic calls are handled via dynamic closure call dispatchers and so no non-covariant argument checking remains at this point. TEST=Existing FFI tests on trybots, also added a few dynamic cast tests just in case. Bug: https://github.com/dart-lang/sdk/issues/44343 Cq-Include-Trybots: luci.dart.try:vm-precomp-ffi-qemu-linux-release-arm-try,vm-ffi-android-product-arm64-try,vm-ffi-android-product-arm-try Change-Id: If8daa2d71de4e9391dd35b31b62b67a8e7e69ffe Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/174463 Reviewed-by: Daco Harkes <dacoharkes@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Tess Strickland <sstrickl@google.com>