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())
4040// NOTE: The class must be realized before calling objc_direct class methods, even if
4141// Swift avoids explicit class realization before calling regular class methods.
4242// 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]])
4444// CHECK: [[R2:%.*]] = bitcast %objc_class* [[R1]] to i8*
4545// CHECK: call {{.*}} @"\01+[Bar directClassMethod]"(i8* [[R2]], i8* undef)
4646
4747markUsed ( Bar . directClassMethod2 ( ) )
4848// 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]])
5050// CHECK: [[R5:%.*]] = bitcast %objc_class* [[R4]] to i8*
5151// CHECK: call {{.*}} @"\01+[Bar directClassMethod2]"(i8* [[R5]], i8* undef)
5252
You can’t perform that action at this time.
0 commit comments