[vm/ffi] Fix reference in comment

The comment was referencing a non-existent function.

TEST=just a comment update

Change-Id: I516debc58addb42d80775223625b0b2088c230d2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250740
Reviewed-by: Tess Strickland <sstrickl@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
This commit is contained in:
Daco Harkes 2022-07-06 12:22:50 +00:00 committed by Commit Bot
parent 6b04cac19d
commit 1c7a7d0c41

View file

@ -80,8 +80,8 @@ int sizeOf<T extends NativeType>() {
external Pointer<T> _fromAddress<T extends NativeType>(int ptr); external Pointer<T> _fromAddress<T extends NativeType>(int ptr);
// The real implementation of this function (for interface calls) lives in // The real implementation of this function (for interface calls) lives in
// BuildFfiAsFunctionCall in the Kernel frontend. No calls can actually reach // BuildFfiAsFunctionInternal in the Kernel frontend. No calls can actually
// this function. // reach this function.
@pragma("vm:recognized", "other") @pragma("vm:recognized", "other")
@pragma("vm:external-name", "Ffi_asFunctionInternal") @pragma("vm:external-name", "Ffi_asFunctionInternal")
external DS _asFunctionInternal<DS extends Function, NS extends Function>( external DS _asFunctionInternal<DS extends Function, NS extends Function>(