File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
SwiftCompilerSources/Sources/SIL Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -323,6 +323,12 @@ extension DestructureStructInst : ForwardingInstruction {
323
323
public var canForwardOwnedValues : Bool { true }
324
324
}
325
325
326
+ extension FunctionExtractIsolationInst : ForwardingInstruction {
327
+ public var preservesRepresentation : Bool { true }
328
+ public var canForwardGuaranteedValues : Bool { true }
329
+ public var canForwardOwnedValues : Bool { false }
330
+ }
331
+
326
332
extension InitExistentialRefInst : ForwardingInstruction {
327
333
public var preservesRepresentation : Bool { true }
328
334
public var canForwardGuaranteedValues : Bool { true }
Original file line number Diff line number Diff line change @@ -219,6 +219,7 @@ struct OwnershipModelEliminatorVisitor
219
219
HANDLE_FORWARDING_INST (LinearFunctionExtract)
220
220
HANDLE_FORWARDING_INST (DifferentiableFunctionExtract)
221
221
HANDLE_FORWARDING_INST (MarkUninitialized)
222
+ HANDLE_FORWARDING_INST (FunctionExtractIsolation)
222
223
#undef HANDLE_FORWARDING_INST
223
224
};
224
225
Original file line number Diff line number Diff line change @@ -196,6 +196,7 @@ struct LLVM_LIBRARY_VISIBILITY SemanticARCOptVisitor
196
196
FORWARDING_INST (LinearFunction)
197
197
FORWARDING_INST (DifferentiableFunctionExtract)
198
198
FORWARDING_INST (LinearFunctionExtract)
199
+ FORWARDING_INST (FunctionExtractIsolation)
199
200
#undef FORWARDING_INST
200
201
201
202
bool processWorklist ();
You can’t perform that action at this time.
0 commit comments