Previous fix in CL 667715 wasn't correct for aix.
Change-Id: I44042786079463967165507b15756cf24b9a213a
Reviewed-on: https://go-review.googlesource.com/c/go/+/668036
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
// val before unpacking.
return unsafe.Pointer(uintptr(int64(tp) >> tagBits << tagAlignBits))
}
+ if GOOS == "aix" {
+ return unsafe.Pointer(uintptr((tp >> tagBits << tagAlignBits) | 0xa<<56))
+ }
return unsafe.Pointer(uintptr(tp >> tagBits << tagAlignBits))
}