2f916ad807
Adds support for marking external functions as @FfiNative's, which will be called using fast FFI calls. Resolution happens by calling out to a new embedder provided Dart_FfiNativeResolver which the embedder can specify via Dart_SetFfiNativeResolver. TEST=vm/cc/DartAPI_FfiNativeResolver Bug: https://github.com/dart-lang/sdk/issues/43889 Change-Id: I3cfff360b05314499a81444b90f4ea0a1b937b0b Cq-Do-Not-Cancel-Tryjobs: true Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170092 Commit-Queue: Clement Skau <cskau@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com>