File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,13 @@ markUsed(Bar.directClassMethod())
40
40
// NOTE: The class must be realized before calling objc_direct class methods, even if
41
41
// Swift avoids explicit class realization before calling regular class methods.
42
42
// CHECK: [[R0:%.*]] = load %objc_class*, %objc_class** @"OBJC_CLASS_REF_$_Bar"
43
- // CHECK: [[R1:%.*]] = call %objc_class* @ swift_getInitializedObjCClass(%objc_class* [[R0]])
43
+ // CHECK: [[R1:%.*]] = call %objc_class* @{{( swift_getInitializedObjCClass|objc_opt_self)}} (%objc_class* [[R0]])
44
44
// CHECK: [[R2:%.*]] = bitcast %objc_class* [[R1]] to i8*
45
45
// CHECK: call {{.*}} @"\01+[Bar directClassMethod]"(i8* [[R2]], i8* undef)
46
46
47
47
markUsed ( Bar . directClassMethod2 ( ) )
48
48
// CHECK: [[R3:%.*]] = load %objc_class*, %objc_class** @"OBJC_CLASS_REF_$_Bar"
49
- // CHECK: [[R4:%.*]] = call %objc_class* @swift_getInitializedObjCClass(%objc_class* [[R3]])
49
+ // CHECK: [[R4:%.*]] = call %objc_class* @{{( swift_getInitializedObjCClass|objc_opt_self)}} (%objc_class* [[R3]])
50
50
// CHECK: [[R5:%.*]] = bitcast %objc_class* [[R4]] to i8*
51
51
// CHECK: call {{.*}} @"\01+[Bar directClassMethod2]"(i8* [[R5]], i8* undef)
52
52
You can’t perform that action at this time.
0 commit comments