mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[sil] Add support for multiple value instructions by adding MultipleValueInstruction{,Result}.
rdar://31521023
This commit is contained in:
committed by
Michael Gottesman
parent
652edc93f8
commit
6df5462ee2
@@ -252,6 +252,12 @@ ValueOwnershipKindClassifier::visitSILPHIArgument(SILPHIArgument *Arg) {
|
||||
return Arg->getOwnershipKind();
|
||||
}
|
||||
|
||||
ValueOwnershipKind
|
||||
ValueOwnershipKindClassifier::visitMultipleValueInstructionResult(
|
||||
MultipleValueInstructionResult *Result) {
|
||||
return Result->getOwnershipKind();
|
||||
}
|
||||
|
||||
ValueOwnershipKind ValueOwnershipKindClassifier::visitSILFunctionArgument(
|
||||
SILFunctionArgument *Arg) {
|
||||
return Arg->getOwnershipKind();
|
||||
|
||||
Reference in New Issue
Block a user