From bbcc404e0511c9726ccd67dbf24bb4ed522e9fb2 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Sat, 3 Sep 2016 12:59:03 +0300 Subject: [PATCH] Update upstream V8 to 5.3.332.38 --- CHANGELOG.md | 4 ++++ lib/libv8/version.rb | 2 +- .../0001-Build-a-standalone-static-library.patch | 8 ++++---- .../0002-Don-t-compile-unnecessary-stuff.patch | 8 ++++---- ...se-the-fPIC-flag-for-the-static-library.patch | 8 ++++---- ...Reinterpret-thread-hash-for-FreeBSD-too.patch | 16 ++++++++-------- vendor/depot_tools | 2 +- 7 files changed, 26 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cebd702..c2fc154 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### Unreleased + +* Update upstream v8 version to 5.3.332.38 + ### 5.2.361.43.0, 5.2.361.43.1 - 2016-06-26: * Compare compiler versions part by part as integers instead of using string diff --git a/lib/libv8/version.rb b/lib/libv8/version.rb index c20c8bc..8481df7 100644 --- a/lib/libv8/version.rb +++ b/lib/libv8/version.rb @@ -1,3 +1,3 @@ module Libv8 - VERSION = "5.2.361.43.1" + VERSION = "5.3.332.38.0beta1" end diff --git a/patches/0001-Build-a-standalone-static-library.patch b/patches/0001-Build-a-standalone-static-library.patch index 28765ed..a26c4cd 100644 --- a/patches/0001-Build-a-standalone-static-library.patch +++ b/patches/0001-Build-a-standalone-static-library.patch @@ -1,4 +1,4 @@ -From 84470a0b6c696f42aa7f86ba5ffd22b17e0047c4 Mon Sep 17 00:00:00 2001 +From 8e34b0f097ea5ea5bbde4ee8b7fd6521d40dd5e3 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Mon, 25 Jul 2016 00:00:19 +0300 Subject: [PATCH 1/4] Build a standalone static library @@ -8,10 +8,10 @@ Subject: [PATCH 1/4] Build a standalone static library 1 file changed, 3 insertions(+) diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi -index 630c45e..1a69c6f 100644 +index c6c26fb..a59e12b 100644 --- a/gypfiles/standalone.gypi +++ b/gypfiles/standalone.gypi -@@ -488,6 +488,9 @@ +@@ -505,6 +505,9 @@ }], # fastbuild!=0 ], 'target_conditions': [ @@ -22,5 +22,5 @@ index 630c45e..1a69c6f 100644 'defines!': [ 'DEBUG', -- -2.9.0 +2.9.3 diff --git a/patches/0002-Don-t-compile-unnecessary-stuff.patch b/patches/0002-Don-t-compile-unnecessary-stuff.patch index 8f3afde..4dc5b4b 100644 --- a/patches/0002-Don-t-compile-unnecessary-stuff.patch +++ b/patches/0002-Don-t-compile-unnecessary-stuff.patch @@ -1,4 +1,4 @@ -From 930d596106fb3289f6aa37cdf8abaec3106c31b9 Mon Sep 17 00:00:00 2001 +From 48d4b7ae6cbb8a2109555f57845fa5f6aa4fa30a Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Mon, 25 Jul 2016 00:04:07 +0300 Subject: [PATCH 2/4] Don't compile unnecessary stuff @@ -9,10 +9,10 @@ Subject: [PATCH 2/4] Don't compile unnecessary stuff 2 files changed, 1 insertion(+), 38 deletions(-) diff --git a/Makefile b/Makefile -index 0f8f93a..68778e9 100644 +index ffb5192..8e60aab 100644 --- a/Makefile +++ b/Makefile -@@ -264,12 +264,7 @@ GYPFILES = third_party/icu/icu.gypi third_party/icu/icu.gyp \ +@@ -265,12 +265,7 @@ GYPFILES = third_party/icu/icu.gypi third_party/icu/icu.gyp \ gypfiles/shim_headers.gypi gypfiles/features.gypi \ gypfiles/standalone.gypi \ gypfiles/toolchain.gypi gypfiles/all.gyp gypfiles/mac/asan.gyp \ @@ -70,5 +70,5 @@ index ff1bea4..96820a0 100644 } ] -- -2.9.0 +2.9.3 diff --git a/patches/0003-Use-the-fPIC-flag-for-the-static-library.patch b/patches/0003-Use-the-fPIC-flag-for-the-static-library.patch index 04805e9..b181842 100644 --- a/patches/0003-Use-the-fPIC-flag-for-the-static-library.patch +++ b/patches/0003-Use-the-fPIC-flag-for-the-static-library.patch @@ -1,4 +1,4 @@ -From 8873d0ee6e1304e256bf3181b287e189bc68a9c8 Mon Sep 17 00:00:00 2001 +From 44da612b4aa078bc2090cad3bd42506f444dd900 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Mon, 25 Jul 2016 00:05:47 +0300 Subject: [PATCH 3/4] Use the -fPIC flag for the static library @@ -8,10 +8,10 @@ Subject: [PATCH 3/4] Use the -fPIC flag for the static library 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi -index 1a69c6f..b19304f 100644 +index a59e12b..4e64f2e 100644 --- a/gypfiles/standalone.gypi +++ b/gypfiles/standalone.gypi -@@ -744,7 +744,7 @@ +@@ -772,7 +772,7 @@ [ 'visibility=="hidden" and v8_enable_backtrace==0', { 'cflags': [ '-fvisibility=hidden' ], }], @@ -21,5 +21,5 @@ index 1a69c6f..b19304f 100644 }], [ 'clang==0 and coverage==1', { -- -2.9.0 +2.9.3 diff --git a/patches/0004-Reinterpret-thread-hash-for-FreeBSD-too.patch b/patches/0004-Reinterpret-thread-hash-for-FreeBSD-too.patch index 28d5a79..a5724b3 100644 --- a/patches/0004-Reinterpret-thread-hash-for-FreeBSD-too.patch +++ b/patches/0004-Reinterpret-thread-hash-for-FreeBSD-too.patch @@ -1,17 +1,17 @@ -From 0f376ac8f77980b86bfbfb55e3a1714201a0f78f Mon Sep 17 00:00:00 2001 +From cf7ec827796ccaef75e77bd83771e7f31b645d2f Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Wed, 27 Jul 2016 06:20:13 +0300 Subject: [PATCH 4/4] Reinterpret thread hash for FreeBSD, too --- - src/profiler/sampler.cc | 2 +- + src/libsampler/v8-sampler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/src/profiler/sampler.cc b/src/profiler/sampler.cc -index ae47dca..4eb8780 100644 ---- a/src/profiler/sampler.cc -+++ b/src/profiler/sampler.cc -@@ -210,7 +210,7 @@ void* ThreadKey(pthread_t thread_id) { +diff --git a/src/libsampler/v8-sampler.cc b/src/libsampler/v8-sampler.cc +index edf6df1..9b2a718 100644 +--- a/src/libsampler/v8-sampler.cc ++++ b/src/libsampler/v8-sampler.cc +@@ -194,7 +194,7 @@ void* ThreadKey(pthread_t thread_id) { // Returns hash value for hash map. uint32_t ThreadHash(pthread_t thread_id) { @@ -21,5 +21,5 @@ index ae47dca..4eb8780 100644 #else return static_cast(thread_id); -- -2.9.0 +2.9.3 diff --git a/vendor/depot_tools b/vendor/depot_tools index 8697dfc..02dbeb8 160000 --- a/vendor/depot_tools +++ b/vendor/depot_tools @@ -1 +1 @@ -Subproject commit 8697dfcf8b85fbad2cc8eee370063b5b4113eaeb +Subproject commit 02dbeb85d77710612fad5e11c18064d194f7ddc0