[SIL] add BeginApplyInst.token

This commit is contained in:
Andrew Trick
2023-12-14 00:19:00 -08:00
parent 0ddf2a8514
commit 2a9aef9eb8

View File

@@ -1072,6 +1072,8 @@ final public class BeginApplyInst : MultipleValueInstruction, FullApplySite {
public var singleDirectResult: Value? { nil }
public var token: Value { getResult(index: resultCount - 1) }
public var yieldedValues: Results {
Results(inst: self, numResults: resultCount - 1)
}