File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 160
160
# else
161
161
# define SWIFT_CLASS_IS_SWIFT_MASK _swift_classIsSwiftMask
162
162
# define SWIFT_CLASS_IS_SWIFT_MASK_GLOBAL_VARIABLE 1
163
+ # define SWIFT_BUILD_HAS_BACK_DEPLOYMENT 1
163
164
# include " BackDeployment.h"
164
165
165
166
# endif
Original file line number Diff line number Diff line change @@ -201,7 +201,10 @@ + (void)initialize {
201
201
// runs on older OSes in certain testing scenarios, so that doesn't matter.
202
202
// Only perform the check on newer OSes where the value should definitely
203
203
// match.
204
- if (!_swift_isBackDeploying ()) {
204
+ # if SWIFT_BUILD_HAS_BACK_DEPLOYMENT
205
+ if (!_swift_isBackDeploying ())
206
+ # endif
207
+ {
205
208
assert (&objc_debug_isa_class_mask);
206
209
assert (objc_debug_isa_class_mask == SWIFT_ISA_MASK);
207
210
}
You can’t perform that action at this time.
0 commit comments