File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ using namespace swift;
61
61
// / Returns true if the pointer passed to a native retain or release is valid.
62
62
// / If false, the operation should immediately return.
63
63
static inline bool isValidPointerForNativeRetain (const void *p) {
64
- #if defined(__x86_64__) || defined(__arm64__) || defined(__aarch64__) || defined(_M_ARM64) || defined(__s390x__)
64
+ #if defined(__x86_64__) || defined(__arm64__) || defined(__aarch64__) || defined(_M_ARM64) || defined(__s390x__) || (defined(__powerpc64__) && defined(__LITTLE_ENDIAN__))
65
65
// On these platforms, except s390x, the upper half of address space is reserved for the
66
66
// kernel, so we can assume that pointer values in this range are invalid.
67
67
// On s390x it is theoretically possible to have high bit set but in practice
You can’t perform that action at this time.
0 commit comments