1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00

Update upstream V8 to 5.3.332.38

This commit is contained in:
Petko Bordjukov 2016-09-03 12:59:03 +03:00
parent f20ca7858c
commit bbcc404e05
7 changed files with 26 additions and 22 deletions

View file

@ -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

View file

@ -1,3 +1,3 @@
module Libv8
VERSION = "5.2.361.43.1"
VERSION = "5.3.332.38.0beta1"
end

View file

@ -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 <bordjukov@gmail.com>
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

View file

@ -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 <bordjukov@gmail.com>
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

View file

@ -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 <bordjukov@gmail.com>
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

View file

@ -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 <bordjukov@gmail.com>
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<uint32_t>(thread_id);
--
2.9.0
2.9.3

2
vendor/depot_tools vendored

@ -1 +1 @@
Subproject commit 8697dfcf8b85fbad2cc8eee370063b5b4113eaeb
Subproject commit 02dbeb85d77710612fad5e11c18064d194f7ddc0