mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SIL] add BeginApplyInst.token
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user