Skip to content

Commit 801c192

Browse files
committed
SwiftCompilerSources: fix EndApplyInst to be SingleValueInstruction.
To be consistent with the C++ implementation.
1 parent b5bef61 commit 801c192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwiftCompilerSources/Sources/SIL/Instruction.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,7 @@ final public class BeginApplyInst : MultipleValueInstruction, FullApplySite {
13301330
}
13311331
}
13321332

1333-
final public class EndApplyInst : Instruction, UnaryInstruction {
1333+
final public class EndApplyInst : SingleValueInstruction, UnaryInstruction {
13341334
public var token: MultipleValueInstructionResult { operand.value as! MultipleValueInstructionResult }
13351335
public var beginApply: BeginApplyInst { token.parentInstruction as! BeginApplyInst }
13361336
}

0 commit comments

Comments
 (0)