RFR: 9+8u: Windows expects "long long" constant in macroAssembler

Andrew Haley aph at redhat.com
Wed Mar 22 12:43:49 UTC 2017


On 22/03/17 11:54, Aleksey Shipilev wrote:
>  #elif defined(_LP64)
> +#ifdef _WINDOWS
> +    const unsigned long long address_bits = 0xffffffffffffffffull;
> +#else
>      const unsigned long address_bits = 0xfffffffffffffffful;
> +#endif // _WINDOWS
>  #else

I'd use uintptr_t address_bits = ~(unitptr_t)0;

Andrew.



More information about the shenandoah-dev mailing list