@@ -5,25 +5,25 @@ import Builtin
5
5
@frozen
6
6
@_rawLayout ( like: T)
7
7
public struct Cell < T: ~ Copyable> : ~ Copyable {
8
- // CHECK-LABEL: sil {{.*}} @$s4CellAAVAARiczrlE7addressSpyxGvg : $@convention(method) <T where T : ~Copyable> (@in_guaranteed Cell<T>) -> UnsafeMutablePointer<T> {
8
+ // CHECK-LABEL: sil {{.*}} @$s4CellAAVAARi_zrlE7addressSpyxGvg : $@convention(method) <T where T : ~Copyable> (@in_guaranteed Cell<T>) -> UnsafeMutablePointer<T> {
9
9
// CHECK: bb0([[SELF:%.*]] : $*Cell<T>):
10
10
// CHECK: [[RAW_LAYOUT_ADDR:%.*]] = builtin "addressOfRawLayout"<Cell<T>>([[SELF]] : $*Cell<T>) : $Builtin.RawPointer
11
11
// CHECK-NEXT: [[POINTER:%.*]] = struct $UnsafeMutablePointer<T> ([[RAW_LAYOUT_ADDR]] : $Builtin.RawPointer)
12
12
// CHECK-NEXT: return [[POINTER]] : $UnsafeMutablePointer<T>
13
- // CHECK-LABEL: } // end sil function '$s4CellAAVAARiczrlE7addressSpyxGvg '
13
+ // CHECK-LABEL: } // end sil function '$s4CellAAVAARi_zrlE7addressSpyxGvg '
14
14
@_transparent
15
15
public var address : UnsafeMutablePointer < T > {
16
16
. init( Builtin . addressOfRawLayout ( self ) )
17
17
}
18
18
19
- // CHECK-LABEL: sil {{.*}} @$s4CellAAVAARiczrlEyAByxGxcfC : $@convention(method) <T where T : ~Copyable> (@in T, @thin Cell<T>.Type) -> @out Cell<T> {
19
+ // CHECK-LABEL: sil {{.*}} @$s4CellAAVAARi_zrlEyAByxGxcfC : $@convention(method) <T where T : ~Copyable> (@in T, @thin Cell<T>.Type) -> @out Cell<T> {
20
20
// CHECK: bb0({{%.*}} : $*Cell<T>, [[VALUE:%.*]] : $*T, {{%.*}} : $@thin Cell<T>.Type):
21
21
// CHECK: {{%.*}} = builtin "zeroInitializer"<Cell<T>>([[SELF:%.*]] : $*Cell<T>) : $()
22
22
// CHECK-NEXT: [[RAW_LAYOUT_ADDR:%.*]] = builtin "addressOfRawLayout"<Cell<T>>([[SELF]] : $*Cell<T>) : $Builtin.RawPointer
23
23
// CHECK-NEXT: [[POINTER:%.*]] = struct $UnsafeMutablePointer<T> ([[RAW_LAYOUT_ADDR]] : $Builtin.RawPointer)
24
24
// Calling 'UnsafeMutablePointer<T>.initialize(to:)'
25
25
// CHECK: {{%.*}} = apply {{%.*}}<T>([[VALUE]], [[POINTER]])
26
- // CHECK-LABEL: } // end sil function '$s4CellAAVAARiczrlEyAByxGxcfC '
26
+ // CHECK-LABEL: } // end sil function '$s4CellAAVAARi_zrlEyAByxGxcfC '
27
27
@_transparent
28
28
public init ( _ value: consuming T ) {
29
29
address. initialize ( to: value)
0 commit comments