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.
2 parents 6a58ecb + d98331d commit 08205ecCopy full SHA for 08205ec
test/IRGen/simple_partial_apply_or_not.swift
@@ -34,8 +34,12 @@ print("Hello!")
34
let s = S()
35
print(s)
36
37
+// We need to call a partial apply thunk instead of directly calling the method
38
+// because the ABI of closure requires swiftself in the context parameter but
39
+// the method of this self type (struct S) does not.
40
+
41
// CHECK: define {{.*}}swiftcc %T4test5StateV9Reference33_C903A018FCE7355FD30EF8324850EB90LLCySi_G* @"$s4test1SVACycfC"()
-// CHECK: call swiftcc void @"$s4test1SV5valueSivsTA"(i{{(32|64)}} 10, %swift.refcounted* swiftself {{.*}})
42
+// CHECK: call swiftcc void {{.*}}"$s4test1SV5valueSivsTA
43
// CHECK: ret %T4test5StateV9Reference33_C903A018FCE7355FD30EF8324850EB90LLCySi_G
44
45
// This used to crash.
0 commit comments