OpaqueValues: fix emitDistributedActorSystemWitnessCall

This code was not consulting SILFunctionConventions, so it was
passing things indirect when they are not in sil-opaque-values.

This fixes callers as well to ensure they pass arguments and
results correctly in both modes.
This commit is contained in:
Kavon Farvardin
2025-11-18 17:05:10 -08:00
parent 199156b307
commit 7c6d54efa6
6 changed files with 134 additions and 86 deletions

View File

@@ -1,4 +1,5 @@
// RUN: %target-run-simple-swift(-target %target-swift-5.7-abi-triple -parse-as-library) | %FileCheck %s
// RUN: %target-run-simple-swift(-Xfrontend -enable-sil-opaque-values -target %target-swift-5.7-abi-triple -parse-as-library) | %FileCheck %s
// REQUIRES: executable_test
// REQUIRES: concurrency