File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -583,13 +583,14 @@ static bool isNonNative_unTagged_bridgeObject(void *object) {
583
583
return (uintptr_t (object) & objectPointerIsObjCBit) != 0
584
584
&& (uintptr_t (object) & heap_object_abi::BridgeObjectTagBitsMask) == 0 ;
585
585
}
586
- #endif
587
586
588
587
// / Return true iff the given BridgeObject is a tagged value.
589
588
static bool isBridgeObjectTaggedPointer (void *object) {
590
- return (uintptr_t (object) & heap_object_abi::BridgeObjectTagBitsMask) != 0 ;
589
+ return (uintptr_t (object) & heap_object_abi::BridgeObjectTagBitsMask) != 0 ;
591
590
}
592
591
592
+ #endif
593
+
593
594
// Mask out the spare bits in a bridgeObject, returning the object it
594
595
// encodes.
595
596
// /
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ class WeakReference {
189
189
190
190
public:
191
191
192
- WeakReference () = default ;
192
+ WeakReference () : nativeValue() {}
193
193
194
194
WeakReference (std::nullptr_t )
195
195
: nativeValue(WeakReferenceBits(nullptr )) { }
You can’t perform that action at this time.
0 commit comments