diff options
author | Michaël Zasso <targos@protonmail.com> | 2016-05-27 16:37:42 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2016-06-29 09:04:28 +0200 |
commit | 2cc29517966de7257a2f1b34c58c77225a21e05d (patch) | |
tree | 210bd177df2f06eec16e1e22edafdbcbffe66f8a /deps/v8/src/base/macros.h | |
parent | bbf3838c70aaec1dd296fa75ae334fd1c7866df3 (diff) | |
download | android-node-v8-2cc29517966de7257a2f1b34c58c77225a21e05d.tar.gz android-node-v8-2cc29517966de7257a2f1b34c58c77225a21e05d.tar.bz2 android-node-v8-2cc29517966de7257a2f1b34c58c77225a21e05d.zip |
deps: update V8 to 5.1.281.69
Pick up the latest branch-head for V8 5.1. This branch brings in
improved language support and performance improvements. For full
details: http://v8project.blogspot.com/2016/04/v8-release-51.html
* Picks up the latest branch head for 5.1 [1]
* Edit v8 gitignore to allow trace_event copy
* Update V8 DEP trace_event as per deps/v8/DEPS [2]
[1] https://chromium.googlesource.com/v8/v8.git/+/dc81244
[2] https://chromium.googlesource.com/chromium/src/base/trace_event/common/+/c8c8665
PR-URL: https://github.com/nodejs/node/pull/7016
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'deps/v8/src/base/macros.h')
-rw-r--r-- | deps/v8/src/base/macros.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/deps/v8/src/base/macros.h b/deps/v8/src/base/macros.h index 10cab4b2bf..3f09b2b9ce 100644 --- a/deps/v8/src/base/macros.h +++ b/deps/v8/src/base/macros.h @@ -278,6 +278,17 @@ inline void USE(T) { } #if V8_OS_MACOSX #undef V8PRIxPTR #define V8PRIxPTR "lx" +#undef V8PRIuPTR +#define V8PRIuPTR "lxu" +#endif + +// GCC on S390 31-bit expands 'size_t' to 'long unsigned int' +// instead of 'int', resulting in compilation errors with %d. +// The printf format specifier needs to be %zd instead. +#if V8_HOST_ARCH_S390 && !V8_HOST_ARCH_64_BIT +#define V8_SIZET_PREFIX "z" +#else +#define V8_SIZET_PREFIX "" #endif // The following macro works on both 32 and 64-bit platforms. |