File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
validation-test/SILOptimizer Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 7
7
// REQUIRES: executable_test
8
8
// UNSUPPORTED: threading_none
9
9
10
- // REQUIRES: rdar136304425
11
10
12
11
import StdlibUnittest
13
12
14
- // CHECK-LABEL: // SmallEnum.init(rawValue:)
15
- // CHECK-NEXT: sil {{.*}} @{{.*}}SmallEnum{{.*}}rawValue{{.*}} :
13
+ // CHECK-LABEL: sil hidden @$s4test9SmallEnumO8rawValueACSgSS_tcfC :
16
14
// CHECK-DAG: global_value @{{.*}}SmallEnum{{.*}}rawValue{{.*}}
17
15
// CHECK-DAG: // function_ref _findStringSwitchCase(cases:string:)
18
- // CHECK: return
16
+ // CHECK: } // end sil function '$s4test9SmallEnumO8rawValueACSgSS_tcfC'
19
17
20
18
enum SmallEnum : String {
21
19
case c1 = " Swift "
@@ -25,11 +23,10 @@ enum SmallEnum : String {
25
23
case c5 = " programming language "
26
24
}
27
25
28
- // CHECK-LABEL: // LargeEnum.init(rawValue:)
29
- // CHECK-NEXT: sil {{.*}} @{{.*}}LargeEnum{{.*}}rawValue{{.*}} :
26
+ // CHECK-LABEL: sil hidden @$s4test9LargeEnumO8rawValueACSgSS_tcfC :
30
27
// CHECK-DAG: global_value @{{.*}}LargeEnum{{.*}}rawValue{{.*}}
31
28
// CHECK-DAG: // function_ref _findStringSwitchCaseWithCache(cases:string:cache:)
32
- // CHECK: return
29
+ // CHECK: } // end sil function '$s4test9LargeEnumO8rawValueACSgSS_tcfC'
33
30
34
31
enum LargeEnum : String {
35
32
case c1 = " Swift "
You can’t perform that action at this time.
0 commit comments