dart-sdk/runtime
Daco Harkes a8dcef9173 [vm/ffi] Fix callback void returns
The void case was removed in
https://dart-review.googlesource.com/c/sdk/+/353101/68/runtime/vm/compiler/frontend/kernel_to_il.cc#b5594

The void case is handled in `FfiConvertPrimitiveToNative`, but the
null check should not happen for void.

It doesn't seem to reproduce for me locally, but the bug report and
workaround are clear about what error is thrown.
TEST=No idea why it's not reproducing.

Bug: https://github.com/flutter/flutter/issues/149017
Change-Id: Ifbffa501af904a0d2268d0e4e19a9145e6c694cc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/368341
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Tess Strickland <sstrickl@google.com>
2024-05-29 09:58:02 +00:00
..
bin [ CLI ] Fix DART_VM_OPTIONS usage only resulting in printing of help message 2024-05-22 20:06:49 +00:00
docs Revert "[vm, gc] Incremental compaction, take 2." 2024-05-23 19:00:50 +00:00
include [vm/sendports] Introduce an api that can be safely used to rebuild SendPort. 2024-05-01 17:19:16 +00:00
lib [vm] Unsound mode cleanup: remove legacy types from the VM 2024-04-30 17:49:37 +00:00
observatory observatory: replace unsupported [this] comment references with this. 2024-05-16 19:24:38 +00:00
platform Revert "[vm, gc] Incremental compaction, take 2." 2024-05-23 19:00:50 +00:00
tests [vm] Enable test pattern (a&b == 0) fusion in AOT on X64/ARM64 2024-05-11 08:53:29 +00:00
tools [dartfuzz] Set dart:io's exitCode, not the shadowing local. 2024-05-06 21:22:28 +00:00
vm [vm/ffi] Fix callback void returns 2024-05-29 09:58:02 +00:00
.clang-tidy
.gitignore
BUILD.gn [vm, compiler] Allow targeting TSAN or MSAN by passing a flag to gen_snapshot. 2024-05-08 17:03:59 +00:00
codereview.settings
configs.gni
CPPLINT.cfg
OWNERS
PRESUBMIT.py
runtime_args.gni Reland "[Fuchsia] Remove the legacy gn build rules for fuchsia" 2024-03-14 20:22:12 +00:00
vm-jit.shard.cml [test] Cleanup building Fuchsia packages/components. 2023-10-31 17:11:51 +00:00
vm.shard.cml [fuchsia][sysmem2] route fuchsia.sysmem2.Allocator 2024-05-10 17:00:29 +00:00