On Wed, Apr 18, 2018 at 8:20 PM, Thomson Tan <lilo...@gmail.com> wrote:
> The current ARM64 backend requires LP64 system as below which makes it
> incompatible with LLP64 system. What are the dependencies of LP64 for ARM64
> backend? Wondering whether this restriction could be removed easily.
>
> // src/arm64/constants-arm64.h
> // Assert that this is an LP64 system.
> STATIC_ASSERT(sizeof(int) == sizeof(int32_t));
> STATIC_ASSERT(sizeof(long) == sizeof(int64_t));    // NOLINT(runtime/int)

Probably fairly easy to fix.  V8 uses `long` in a couple of places in
src/base but most everything else uses explicitly sized types or
int/size_t.

Code that uses `size_t` doesn't make assumptions about its width.  At
least, I haven't seen any.

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to