mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Correctly forward the implicit nonisolated(nonsending) parameter in
SILGen thunks. Also, I discovered that we don't apply nonisolated(nonsending) to function types in the new mode. That's one for a different patch. Fixes rdar://154401813
This commit is contained in:
@@ -2623,7 +2623,8 @@ public:
|
||||
void collectThunkParams(
|
||||
SILLocation loc, SmallVectorImpl<ManagedValue> ¶ms,
|
||||
SmallVectorImpl<ManagedValue> *indirectResultParams = nullptr,
|
||||
SmallVectorImpl<ManagedValue> *indirectErrorParams = nullptr);
|
||||
SmallVectorImpl<ManagedValue> *indirectErrorParams = nullptr,
|
||||
ManagedValue *implicitIsolationParam = nullptr);
|
||||
|
||||
/// Build the type of a function transformation thunk.
|
||||
CanSILFunctionType buildThunkType(CanSILFunctionType &sourceType,
|
||||
|
||||
Reference in New Issue
Block a user