We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SIL/Function.swift
1 parent 186d47b commit 91abdb6Copy full SHA for 91abdb6
SwiftCompilerSources/Sources/SIL/Function.swift
@@ -36,15 +36,15 @@ final public class Function : CustomStringConvertible {
36
public var arguments: LazyMapSequence<ArgumentArray, FunctionArgument> {
37
entryBlock.arguments.lazy.map { $0 as! FunctionArgument }
38
}
39
-
+
40
public var numIndirectResultArguments: Int {
41
SILFunction_numIndirectResultArguments(bridged)
42
43
44
public var hasSelfArgument: Bool {
45
SILFunction_getSelfArgumentIndex(bridged) >= 0
46
47
48
public var selfArgumentIndex: Int {
49
let selfIdx = SILFunction_getSelfArgumentIndex(bridged)
50
assert(selfIdx >= 0)
0 commit comments