mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/main' into rebranch
This commit is contained in:
@@ -2199,6 +2199,13 @@ void IRGenSILFunction::emitSILFunction() {
|
||||
IGM.noteSwiftAsyncFunctionDef();
|
||||
}
|
||||
|
||||
// Emit distributed accessor, and mark the thunk as accessible
|
||||
// by name at runtime through it.
|
||||
if (CurSILFn->isDistributed() && CurSILFn->isThunk()) {
|
||||
IGM.emitDistributedMethodAccessor(CurSILFn);
|
||||
IGM.addAccessibleFunction(CurSILFn);
|
||||
}
|
||||
|
||||
// Configure the dominance resolver.
|
||||
// TODO: consider re-using a dom analysis from the PassManager
|
||||
// TODO: consider using a cheaper analysis at -O0
|
||||
|
||||
Reference in New Issue
Block a user