File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
lib/SILOptimizer/Analysis Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -188,17 +188,6 @@ struct UseDefChainVisitor
188
188
case ProjectionKind::Struct:
189
189
auto *sea = cast<StructElementAddrInst>(inst);
190
190
191
- // See if our type is actor isolated.
192
- if (!bool (actorIsolation)) {
193
- auto i = getActorIsolation (sea->getStructDecl ());
194
- // If our parent type is actor isolated then we do not want to keep on
195
- // walking up from use->def since the value is considered Sendable.
196
- if (i.isActorIsolated ()) {
197
- actorIsolation = i;
198
- return SILValue ();
199
- }
200
- }
201
-
202
191
// See if our result type is a sendable type. In such a case, we do not
203
192
// want to look through the struct_element_addr since we do not want to
204
193
// identify the sendable type with the non-sendable operand. These we
You can’t perform that action at this time.
0 commit comments