Skip to content

Commit ad2db14

Browse files
authored
Merge pull request #5621 from gottesmm/rdar29077869
2 parents 61798ff + 630a321 commit ad2db14

12 files changed

+41
-40
lines changed

lib/SIL/SILPrinter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1869,9 +1869,9 @@ void SILFunction::print(SILPrintContext &PrintCtx) const {
18691869

18701870
SILPrinter(PrintCtx, (Aliases.empty() ? nullptr : &Aliases))
18711871
.print(this);
1872-
OS << "}";
1872+
OS << "} // end sil function '" << getName() << '\'';
18731873
}
1874-
1874+
18751875
OS << "\n\n";
18761876
}
18771877

test/SIL/Parser/basic.sil

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,8 @@ else:
14841484
%3void = tuple ()
14851485
// CHECK-NEXT: return %5 : $()
14861486
return %3void : $()
1487-
} // CHECK: {{^}$}}
1487+
}
1488+
// CHECK: } // end sil function 'value_names'
14881489

14891490
class Resource {}
14901491
struct Value { var x: Resource }

test/SILGen/default_arguments_imported.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ func testGizmo(gizmo: Gizmo) {
1111
// CHECK: class_method [volatile] [[SELF:%[0-9]+]] : $Gizmo, #Gizmo.enumerateSubGizmos!1.foreign
1212
// CHECK: function_ref @_TFSqCfT10nilLiteralT__GSqx_
1313
gizmo.enumerateSubGizmos()
14-
} // CHECK: {{^}$}}
14+
} // CHECK: } // end sil function '_TF26default_arguments_imported9testGizmoFT5gizmoCSo5Gizmo_T_'
1515

1616
// CHECK-LABEL: sil hidden @_TF26default_arguments_imported21testNonnullDictionaryFT5gizmoCSo5Gizmo_T_
1717
func testNonnullDictionary(gizmo: Gizmo) {
1818
// CHECK: class_method [volatile] [[SELF:%[0-9]+]] : $Gizmo, #Gizmo.doTheThing!1.foreign
1919
// CHECK-NOT: nilLiteral
2020
// CHECK: function_ref @_TFVs10DictionaryCft17dictionaryLiteralGSaTxq____GS_xq__
2121
gizmo.doTheThing()
22-
} // CHECK: {{^}$}}
22+
} // CHECK: } // end sil function '_TF26default_arguments_imported21testNonnullDictionaryFT5gizmoCSo5Gizmo_T_'
2323

2424
// CHECK-LABEL: sil hidden @_TF26default_arguments_imported22testNullableDictionaryFT5gizmoCSo5Gizmo_T_
2525
func testNullableDictionary(gizmo: Gizmo) {
2626
// CHECK: class_method [volatile] [[SELF:%[0-9]+]] : $Gizmo, #Gizmo.doTheOtherThing!1.foreign
2727
// CHECK-NOT: dictionaryLiteral
2828
// CHECK: function_ref @_TFSqCfT10nilLiteralT__GSqx_
2929
gizmo.doTheOtherThing()
30-
} // CHECK: {{^}$}}
30+
} // CHECK: } // end sil function '_TF26default_arguments_imported22testNullableDictionaryFT5gizmoCSo5Gizmo_T_'

test/SILGen/errors.swift

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ func testForceTryMultiple() {
324324
// CHECK: [[CLEANUPS_2]]([[ERROR:%.+]] : $Error):
325325
// CHECK-NEXT: destroy_value [[VALUE_1]] : $Cat
326326
// CHECK-NEXT: br [[FAILURE]]([[ERROR]] : $Error)
327-
// CHECK: {{^}$}}
327+
// CHECK: } // end sil function '_TF6errors20testForceTryMultipleFT_T_'
328328

329329
// Make sure we balance scopes correctly inside a switch.
330330
// <rdar://problem/20923654>
@@ -700,7 +700,7 @@ func testForcePeephole(_ f: () throws -> Int?) -> Int {
700700
// CHECK-NEXT: br [[DONE]]([[NONE]] : $Optional<Cat>)
701701
// CHECK: [[CLEANUPS]]([[ERROR:%.+]] : $Error):
702702
// CHECK-NEXT: br [[FAILURE]]([[ERROR]] : $Error)
703-
// CHECK: {{^}$}}
703+
// CHECK: } // end sil function '_TF6errors15testOptionalTryFT_T_'
704704
func testOptionalTry() {
705705
_ = try? make_a_cat()
706706
}
@@ -726,7 +726,7 @@ func testOptionalTry() {
726726
// CHECK-NEXT: br [[DONE]]
727727
// CHECK: [[CLEANUPS]]([[ERROR:%.+]] : $Error):
728728
// CHECK-NEXT: br [[FAILURE]]([[ERROR]] : $Error)
729-
// CHECK: {{^}$}}
729+
// CHECK: } // end sil function '_TF6errors18testOptionalTryVarFT_T_'
730730
func testOptionalTryVar() {
731731
var cat = try? make_a_cat() // expected-warning {{initialization of variable 'cat' was never used; consider replacing with assignment to '_' or removing it}}
732732
}
@@ -756,7 +756,7 @@ func testOptionalTryVar() {
756756
// CHECK: [[CLEANUPS]]([[ERROR:%.+]] : $Error):
757757
// CHECK-NEXT: dealloc_stack [[ARG_BOX]] : $*T
758758
// CHECK-NEXT: br [[FAILURE]]([[ERROR]] : $Error)
759-
// CHECK: {{^}$}}
759+
// CHECK: } // end sil function '_TF6errors26testOptionalTryAddressOnlyurFxT_'
760760
func testOptionalTryAddressOnly<T>(_ obj: T) {
761761
_ = try? dont_return(obj)
762762
}
@@ -786,7 +786,7 @@ func testOptionalTryAddressOnly<T>(_ obj: T) {
786786
// CHECK: [[CLEANUPS]]([[ERROR:%.+]] : $Error):
787787
// CHECK-NEXT: dealloc_stack [[ARG_BOX]] : $*T
788788
// CHECK-NEXT: br [[FAILURE]]([[ERROR]] : $Error)
789-
// CHECK: {{^}$}}
789+
// CHECK: } // end sil function '_TF6errors29testOptionalTryAddressOnlyVarurFxT_'
790790
func testOptionalTryAddressOnlyVar<T>(_ obj: T) {
791791
var copy = try? dont_return(obj) // expected-warning {{initialization of variable 'copy' was never used; consider replacing with assignment to '_' or removing it}}
792792
}
@@ -815,7 +815,7 @@ func testOptionalTryAddressOnlyVar<T>(_ obj: T) {
815815
// CHECK: [[CLEANUPS_2]]([[ERROR:%.+]] : $Error):
816816
// CHECK-NEXT: destroy_value [[VALUE_1]] : $Cat
817817
// CHECK-NEXT: br [[FAILURE]]([[ERROR]] : $Error)
818-
// CHECK: {{^}$}}
818+
// CHECK: } // end sil function '_TF6errors23testOptionalTryMultipleFT_T_'
819819
func testOptionalTryMultiple() {
820820
_ = try? (make_a_cat(), make_a_cat())
821821
}
@@ -826,7 +826,7 @@ func testOptionalTryMultiple() {
826826
// CHECK-NEXT: = enum $Optional<()>, #Optional.some!enumelt.1, [[VALUE]]
827827
// CHECK-NEXT: [[VOID:%.+]] = tuple ()
828828
// CHECK-NEXT: return [[VOID]] : $()
829-
// CHECK: {{^}$}}
829+
// CHECK: } // end sil function '_TF6errors25testOptionalTryNeverFailsFT_T_'
830830
func testOptionalTryNeverFails() {
831831
_ = try? () // expected-warning {{no calls to throwing functions occur within 'try' expression}}
832832
}
@@ -840,7 +840,7 @@ func testOptionalTryNeverFails() {
840840
// CHECK-NEXT: destroy_value [[BOX]] : $@box Optional<()>
841841
// CHECK-NEXT: [[VOID:%.+]] = tuple ()
842842
// CHECK-NEXT: return [[VOID]] : $()
843-
// CHECK-NEXT: {{^}$}}
843+
// CHECK-NEXT: } // end sil function '_TF6errors28testOptionalTryNeverFailsVarFT_T_'
844844
func testOptionalTryNeverFailsVar() {
845845
var unit: ()? = try? () // expected-warning {{no calls to throwing functions occur within 'try' expression}} expected-warning {{initialization of variable 'unit' was never used; consider replacing with assignment to '_' or removing it}}
846846
}
@@ -856,7 +856,7 @@ func testOptionalTryNeverFailsVar() {
856856
// CHECK-NEXT: destroy_addr %0 : $*T
857857
// CHECK-NEXT: [[VOID:%.+]] = tuple ()
858858
// CHECK-NEXT: return [[VOID]] : $()
859-
// CHECK-NEXT: {{^}$}}
859+
// CHECK-NEXT: } // end sil function '_TF6errors36testOptionalTryNeverFailsAddressOnlyurFxT_'
860860
func testOptionalTryNeverFailsAddressOnly<T>(_ obj: T) {
861861
_ = try? obj // expected-warning {{no calls to throwing functions occur within 'try' expression}}
862862
}
@@ -872,7 +872,7 @@ func testOptionalTryNeverFailsAddressOnly<T>(_ obj: T) {
872872
// CHECK-NEXT: destroy_addr %0 : $*T
873873
// CHECK-NEXT: [[VOID:%.+]] = tuple ()
874874
// CHECK-NEXT: return [[VOID]] : $()
875-
// CHECK-NEXT: {{^}$}}
875+
// CHECK: } // end sil function '_TFC6errors13OtherErrorSubCfT_S0_'
876876
func testOptionalTryNeverFailsAddressOnlyVar<T>(_ obj: T) {
877877
var copy = try? obj // expected-warning {{no calls to throwing functions occur within 'try' expression}} expected-warning {{initialization of variable 'copy' was never used; consider replacing with assignment to '_' or removing it}}
878878
}

test/SILGen/objc_bridged_results.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func testNonnull(_ obj: Test) -> [Any] {
1717
// CHECK: destroy_value %0 : $Test
1818
// CHECK: return [[RESULT]] : $Array<Any>
1919
return obj.nonnullArray
20-
} // CHECK: {{^}$}}
20+
} // CHECK: } // end sil function '_TF20objc_bridged_results11testNonnullFCSo4TestGSaP__'
2121

2222
// CHECK-LABEL: sil hidden @_TF20objc_bridged_results12testNullableFCSo4TestGSqGSaP___
2323
func testNullable(_ obj: Test) -> [Any]? {
@@ -44,7 +44,7 @@ func testNullable(_ obj: Test) -> [Any]? {
4444
// CHECK: destroy_value %0 : $Test
4545
// CHECK: return [[RESULT]] : $Optional<Array<Any>>
4646
return obj.nullableArray
47-
} // CHECK: {{^}$}}
47+
} // CHECK: } // end sil function '_TF20objc_bridged_results12testNullableFCSo4TestGSqGSaP___'
4848

4949
// CHECK-LABEL: sil hidden @_TF20objc_bridged_results19testNullUnspecifiedFCSo4TestGSQGSaP___
5050
func testNullUnspecified(_ obj: Test) -> [Any]! {
@@ -70,7 +70,7 @@ func testNullUnspecified(_ obj: Test) -> [Any]! {
7070
// CHECK: destroy_value %0 : $Test
7171
// CHECK: return [[RESULT]] : $Optional<Array<Any>>
7272
return obj.nullUnspecifiedArray
73-
} // CHECK: {{^}$}}
73+
} // CHECK: } // end sil function '_TF20objc_bridged_results19testNullUnspecifiedFCSo4TestGSQGSaP___'
7474

7575

7676
// CHECK-LABEL: sil hidden @_TF20objc_bridged_results21testNonnullDictionaryFCSo4TestGVs10DictionaryVs11AnyHashableP__
@@ -83,7 +83,7 @@ func testNonnullDictionary(_ obj: Test) -> [AnyHashable: Any] {
8383
// CHECK: destroy_value %0 : $Test
8484
// CHECK: return [[RESULT]] : $Dictionary<AnyHashable, Any>
8585
return obj.nonnullDictionary
86-
} // CHECK: {{^}$}}
86+
} // CHECK: } // end sil function '_TF20objc_bridged_results21testNonnullDictionaryFCSo4TestGVs10DictionaryVs11AnyHashableP__'
8787

8888
// CHECK-LABEL: sil hidden @_TF20objc_bridged_results14testNonnullSetFCSo4TestGVs3SetVs11AnyHashable_
8989
func testNonnullSet(_ obj: Test) -> Set<AnyHashable> {
@@ -95,7 +95,7 @@ func testNonnullSet(_ obj: Test) -> Set<AnyHashable> {
9595
// CHECK: destroy_value %0 : $Test
9696
// CHECK: return [[RESULT]] : $Set<AnyHashable>
9797
return obj.nonnullSet
98-
} // CHECK: {{^}$}}
98+
} // CHECK: } // end sil function '_TF20objc_bridged_results14testNonnullSetFCSo4TestGVs3SetVs11AnyHashable_'
9999

100100
// CHECK-LABEL: sil hidden @_TF20objc_bridged_results17testNonnullStringFCSo4TestSS
101101
func testNonnullString(_ obj: Test) -> String {
@@ -107,7 +107,7 @@ func testNonnullString(_ obj: Test) -> String {
107107
// CHECK: destroy_value %0 : $Test
108108
// CHECK: return [[RESULT]] : $String
109109
return obj.nonnullString
110-
} // CHECK: {{^}$}}
110+
} // CHECK: } // end sil function '_TF20objc_bridged_results17testNonnullStringFCSo4TestSS'
111111

112112
// CHECK-LABEL: sil hidden @_TF20objc_bridged_results13testClassPropFT_SS
113113
func testClassProp() -> String {
@@ -120,7 +120,7 @@ func testClassProp() -> String {
120120
// CHECK: [[RESULT:%[0-9]+]] = apply [[CONVERT]]([[COCOA_VAL]], [[STRING_META]]) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String
121121
// CHECK: return [[RESULT]] : $String
122122
return Test.nonnullSharedString
123-
} // CHECK: {{^}$}}
123+
} // CHECK: } // end sil function '_TF20objc_bridged_results13testClassPropFT_SS'
124124

125125

126126
// Note: This doesn't really "work" in that it doesn't accept a nil value the
@@ -136,7 +136,7 @@ func testNonnullSubscript(_ obj: Test) -> [Any] {
136136
// CHECK: destroy_value %0 : $Test
137137
// CHECK: return [[RESULT]] : $Array<Any>
138138
return obj[0]
139-
} // CHECK: {{^}$}}
139+
} // CHECK: } // end sil function '_TF20objc_bridged_results20testNonnullSubscriptFCSo4TestGSaP__'
140140

141141

142142
// CHECK-LABEL: sil hidden @_TF20objc_bridged_results19testPerformSelectorFCSo8NSObjectT_
@@ -145,4 +145,4 @@ func testPerformSelector(_ obj: NSObject) {
145145
// CHECK: [[RESULT:%[0-9]+]] = apply [[METHOD]]({{%[0-9]+}}, {{%[0-9]+}}, %0)
146146
_ = obj.perform("foo", with: nil)
147147
// CHECK-NOT: {{(retain|release).+}}[[RESULT]]
148-
} // CHECK: {{^}$}}
148+
} // CHECK: } // end sil function '_TF20objc_bridged_results19testPerformSelectorFCSo8NSObjectT_'

test/SILGen/testable-multifile-other.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func test(internalFoo: FooImpl, publicFoo: PublicFooImpl) {
2929
// CHECK: = apply [[IMPL_1]]<FooImpl>({{%.+}}) : $@convention(method) <τ_0_0 where τ_0_0 : HasDefaultFoo> (@in_guaranteed τ_0_0) -> ()
3030
// CHECK: [[IMPL_2:%.+]] = function_ref @_TFE23TestableMultifileHelperPS_13HasDefaultFoo3foofT_T_
3131
// CHECK: = apply [[IMPL_2]]<PublicFooImpl>({{%.+}}) : $@convention(method) <τ_0_0 where τ_0_0 : HasDefaultFoo> (@in_guaranteed τ_0_0) -> ()
32-
// CHECK: {{^}$}}
32+
// CHECK: } // end sil function '_TF4main4testFT11internalFooVS_7FooImpl9publicFooVS_13PublicFooImpl_T_'
3333

3434
func test(internalSub: Sub, publicSub: PublicSub) {
3535
internalSub.foo()
@@ -39,5 +39,5 @@ func test(internalSub: Sub, publicSub: PublicSub) {
3939
// CHECK-LABEL: sil hidden @_TF4main4testFT11internalSubCS_3Sub9publicSubCS_9PublicSub_T_
4040
// CHECK: = class_method %0 : $Sub, #Sub.foo!1
4141
// CHECK: = class_method %1 : $PublicSub, #PublicSub.foo!1
42-
// CHECK: {{^}$}}
42+
// CHECK: } // end sil function '_TF4main4testFT11internalSubCS_3Sub9publicSubCS_9PublicSub_T_'
4343

test/SILGen/testable-multifile.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ public struct PublicFooImpl: Fooable, HasDefaultFoo {}
2222

2323
// CHECK-LABEL: sil{{.*}} @_TTWV4main7FooImplS_7FooableS_FS1_3foofT_T_ : $@convention(witness_method) (@in_guaranteed FooImpl) -> () {
2424
// CHECK: function_ref @_TFE23TestableMultifileHelperPS_13HasDefaultFoo3foofT_T_
25-
// CHECK: {{^}$}}
25+
// CHECK: } // end sil function '_TTWV4main7FooImplS_7FooableS_FS1_3foofT_T_'
2626

2727
// CHECK-LABEL: sil{{.*}} @_TTWV4main13PublicFooImplS_7FooableS_FS1_3foofT_T_ : $@convention(witness_method) (@in_guaranteed PublicFooImpl) -> () {
2828
// CHECK: function_ref @_TFE23TestableMultifileHelperPS_13HasDefaultFoo3foofT_T_
29-
// CHECK: {{^}$}}
29+
// CHECK: } // end sil function '_TTWV4main13PublicFooImplS_7FooableS_FS1_3foofT_T_'
3030

3131
private class PrivateSub: Base {
3232
fileprivate override func foo() {}

test/SILOptimizer/cast_promote.sil

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ bb0(%0 : $*NativeProto, %1 : $AnyObject):
8282

8383
class B {}
8484

85-
// CHECK-LABEL: sil @load_unchecked_addr_cast_to_unchecked_ref_cast_load : $@convention(thin) (@inout Optional<B>) -> (Builtin.NativeObject, Optional<Builtin.NativeObject>) {
85+
// CHECK-LABEL: sil @load_uncheckedaddrcast_to_uncheckedrefcast_load : $@convention(thin) (@inout Optional<B>) -> (Builtin.NativeObject, Optional<Builtin.NativeObject>) {
8686
// CHECK-NOT: unchecked_addr_cast
8787
// CHECK: unchecked_ref_cast
8888
// CHECK-NOT: unchecked_addr_cast
8989
// CHECK: unchecked_ref_cast
9090
// CHECK-NOT: unchecked_addr_cast
91-
sil @load_unchecked_addr_cast_to_unchecked_ref_cast_load : $@convention(thin) (@inout Optional<B>) -> (Builtin.NativeObject, Optional<Builtin.NativeObject>) {
91+
sil @load_uncheckedaddrcast_to_uncheckedrefcast_load : $@convention(thin) (@inout Optional<B>) -> (Builtin.NativeObject, Optional<Builtin.NativeObject>) {
9292
bb0(%0 : $*Optional<B>):
9393
%1 = unchecked_addr_cast %0 : $*Optional<B> to $*Builtin.NativeObject
9494
%2 = unchecked_addr_cast %0 : $*Optional<B> to $*Optional<Builtin.NativeObject>

test/SILOptimizer/sil_combine.sil

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,9 +1465,9 @@ sil @generic_call_with_indirect_result : $@convention(thin) <T> (@in T) -> @out
14651465
sil @generic_call_without_indirect_result : $@convention(thin) <T> (@in T) -> Bool
14661466
sil @generic_call_with_direct_result : $@convention(thin) <T> (T) -> T
14671467

1468-
// CHECK-LABEL: sil @generic_partial_apply : $@convention(thin) () -> () {
1468+
// CHECK-LABEL: sil @generic_partialapply : $@convention(thin) () -> () {
14691469
// CHECK-NOT: partial_apply
1470-
sil @generic_partial_apply : $@convention(thin) () -> () {
1470+
sil @generic_partialapply : $@convention(thin) () -> () {
14711471
bb0:
14721472
%0 = function_ref @generic_call_with_indirect_result : $@convention(thin) <τ_0_0> (@in τ_0_0) -> @out τ_0_0
14731473
%1 = function_ref @generic_call_without_indirect_result : $@convention(thin) <τ_0_0> (@in τ_0_0) -> Bool
@@ -1806,12 +1806,12 @@ struct FakeInt32 {
18061806
var val : Builtin.Int32
18071807
}
18081808

1809-
// CHECK-LABEL: sil @loadable_switch_enum_addr_promotion : $@convention(thin) (@in FakeOptional<Builtin.RawPointer>) -> () {
1809+
// CHECK-LABEL: sil @loadable_switchenumaddr_promotion : $@convention(thin) (@in FakeOptional<Builtin.RawPointer>) -> () {
18101810
// CHECK-NOT: switch_enum_addr
18111811
// CHECK: load
18121812
// CHECK-NEXT: switch_enum
18131813
// CHECK-NOT: switch_enum_addr
1814-
sil @loadable_switch_enum_addr_promotion : $@convention(thin) (@in FakeOptional<Builtin.RawPointer>) -> () {
1814+
sil @loadable_switchenumaddr_promotion : $@convention(thin) (@in FakeOptional<Builtin.RawPointer>) -> () {
18151815
bb0(%0 : $*FakeOptional<Builtin.RawPointer>):
18161816
switch_enum_addr %0 : $*FakeOptional<Builtin.RawPointer>, case #FakeOptional.some!enumelt.1: bb1, case #FakeOptional.none!enumelt: bb2
18171817

test/SILOptimizer/simplify_cfg.sil

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,8 +649,8 @@ class C {
649649
init(v: Int32)
650650
}
651651

652-
// CHECK-LABEL: @redundant_switch_enum
653-
sil @redundant_switch_enum : $@convention(thin) (@owned Optional<C>) -> Int32 {
652+
// CHECK-LABEL: @redundant_switchenum
653+
sil @redundant_switchenum : $@convention(thin) (@owned Optional<C>) -> Int32 {
654654
bb0(%0 : $Optional<C>):
655655
switch_enum %0 : $Optional<C>, case #Optional.some!enumelt.1: bb1, case #Optional.none!enumelt: bb2
656656

test/SILOptimizer/unreachable_dealloc_stack.sil

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ class TheClass {}
1212
// an undef operand, but that we do later remove it in the diagnostics
1313
// passes.
1414

15-
// CHECK-LABEL: sil @unreachable_dealloc_stack
16-
sil @unreachable_dealloc_stack: $@convention(method) (@guaranteed TheClass) -> () {
15+
// CHECK-LABEL: sil @unreachable_deallocstack
16+
sil @unreachable_deallocstack: $@convention(method) (@guaranteed TheClass) -> () {
1717
bb0(%0 : $TheClass):
1818
%1 = function_ref @nada : $@convention(c) (Builtin.Int32) -> Never
1919
%2 = integer_literal $Builtin.Int32, 0

test/Serialization/Inputs/def_basic_objc.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ bb0(%0 : $@thick NSObject.Type):
1818

1919
%void = tuple ()
2020
return %void : $()
21-
} // CHECK: {{^}$}}
21+
} // CHECK: } // end sil function 'objc_classes'
2222

2323
class Bas : NSObject {
2424
var strRealProp : String

0 commit comments

Comments
 (0)