Skip to content

Commit 62ff47b

Browse files
committed
[SIL] add BeginApplyInst.token
1 parent 66ab08a commit 62ff47b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SwiftCompilerSources/Sources/SIL/Instruction.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,6 +1079,8 @@ final public class BeginApplyInst : MultipleValueInstruction, FullApplySite {
10791079

10801080
public var singleDirectResult: Value? { nil }
10811081

1082+
public var token: Value { getResult(index: resultCount - 1) }
1083+
10821084
public var yieldedValues: Results {
10831085
Results(inst: self, numResults: resultCount - 1)
10841086
}

0 commit comments

Comments
 (0)