Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibJS: Implement extract_pointer_bits for ppc64
On PowerPC 64 pointers can use all 64 bits, however by convention on Linux user-space addresses use only the lower 43 bits. I'm not 100% certain that the masking off of the 16 high bits is the proper solution, but it matches the rest of the LibJS code which assumes pointers only use the lower 48 bits. https://www.kernel.org/doc/ols/2001/ppc64.pdf
- Loading branch information