Skip to content

Commit 2a9aef9

Browse files
committed
[SIL] add BeginApplyInst.token
1 parent 0ddf2a8 commit 2a9aef9

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
@@ -1072,6 +1072,8 @@ final public class BeginApplyInst : MultipleValueInstruction, FullApplySite {
10721072

10731073
public var singleDirectResult: Value? { nil }
10741074

1075+
public var token: Value { getResult(index: resultCount - 1) }
1076+
10751077
public var yieldedValues: Results {
10761078
Results(inst: self, numResults: resultCount - 1)
10771079
}

0 commit comments

Comments
 (0)