0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-24 08:09:16 -05:00

Upgrade V8 to 8.1.310 (#263)

Co-authored-by: Bert Belder <bertbelder@gmail.com>
This commit is contained in:
Ryan Dahl 2020-01-30 20:44:28 -05:00 committed by GitHub
parent 87fdcdc131
commit 4f449b6ec6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 22 additions and 17 deletions

View file

@ -1,6 +1,6 @@
# Rusty V8 Binding # Rusty V8 Binding
V8 Version: 8.1.108 V8 Version: 8.1.310, 2020-01-30
[![ci](https://github.com/denoland/rusty_v8/workflows/ci/badge.svg?branch=master)](https://github.com/denoland/rusty_v8/actions) [![ci](https://github.com/denoland/rusty_v8/workflows/ci/badge.svg?branch=master)](https://github.com/denoland/rusty_v8/actions)
[![crates](https://img.shields.io/crates/v/rusty_v8.svg)](https://crates.io/crates/rusty_v8) [![crates](https://img.shields.io/crates/v/rusty_v8.svg)](https://crates.io/crates/rusty_v8)

@ -1 +1 @@
Subproject commit 81c050f857a0e3c960cfd87f37e3d30d2ef78718 Subproject commit bd79231eb1f9e7de2efb4ad79e530d9a7e70d9a5

2
build

@ -1 +1 @@
Subproject commit 57a3e9778a38c96a48c4e194fc49ff8a0619a478 Subproject commit e854654b50f127f2b48fbf68fc2709a605c23f6a

@ -1 +1 @@
Subproject commit e23554f7172e126298e69a001cc7e60ec08cdaf9 Subproject commit b7faa4551a207930cc5034cdfa2aacdfce6db142

View file

@ -466,10 +466,6 @@ bool v8__Value__IsSharedArrayBuffer(const v8::Value& self) {
bool v8__Value__IsProxy(const v8::Value& self) { return self.IsProxy(); } bool v8__Value__IsProxy(const v8::Value& self) { return self.IsProxy(); }
bool v8__Value__IsWebAssemblyCompiledModule(const v8::Value& self) {
return self.IsWebAssemblyCompiledModule();
}
bool v8__Value__IsModuleNamespaceObject(const v8::Value& self) { bool v8__Value__IsModuleNamespaceObject(const v8::Value& self) {
return self.IsModuleNamespaceObject(); return self.IsModuleNamespaceObject();
} }

View file

@ -65,7 +65,6 @@ extern "C" {
fn v8__Value__IsDataView(this: &Value) -> bool; fn v8__Value__IsDataView(this: &Value) -> bool;
fn v8__Value__IsSharedArrayBuffer(this: &Value) -> bool; fn v8__Value__IsSharedArrayBuffer(this: &Value) -> bool;
fn v8__Value__IsProxy(this: &Value) -> bool; fn v8__Value__IsProxy(this: &Value) -> bool;
fn v8__Value__IsWebAssemblyCompiledModule(this: &Value) -> bool;
fn v8__Value__IsModuleNamespaceObject(this: &Value) -> bool; fn v8__Value__IsModuleNamespaceObject(this: &Value) -> bool;
fn v8__Value__StrictEquals(this: &Value, that: &Value) -> bool; fn v8__Value__StrictEquals(this: &Value, that: &Value) -> bool;
fn v8__Value__SameValue(this: &Value, that: &Value) -> bool; fn v8__Value__SameValue(this: &Value, that: &Value) -> bool;
@ -380,10 +379,6 @@ impl Value {
unsafe { v8__Value__IsProxy(self) } unsafe { v8__Value__IsProxy(self) }
} }
pub fn is_web_assembly_compiled_module(&self) -> bool {
unsafe { v8__Value__IsWebAssemblyCompiledModule(self) }
}
/// Returns true if the value is a Module Namespace Object. /// Returns true if the value is a Module Namespace Object.
pub fn is_module_namespace_object(&self) -> bool { pub fn is_module_namespace_object(&self) -> bool {
unsafe { v8__Value__IsModuleNamespaceObject(self) } unsafe { v8__Value__IsModuleNamespaceObject(self) }

View file

@ -2114,7 +2114,6 @@ fn value_checker() {
// Other checker, Just check if it can be called // Other checker, Just check if it can be called
value.is_external(); value.is_external();
value.is_web_assembly_compiled_module();
value.is_module_namespace_object(); value.is_module_namespace_object();
} }
} }

2
third_party/zlib vendored

@ -1 +1 @@
Subproject commit 814da1f383b625955149c3845db62af3f29a4ffe Subproject commit b9b9a5af7cca2e683e5f2aead8418e5bf9d5a7d5

@ -1 +1 @@
Subproject commit 86eb8049803a2e3365c37c88299b6315fd6e068c Subproject commit 953ea7aff8c12dbd015f193d52e5abf276d41e85

15
tools/upgrade_v8.sh Normal file
View file

@ -0,0 +1,15 @@
# WARNING: This is not an automated tool! This is just some commands to copy and
# paste manually to upgrade V8.
export COMMITDATE=2020-01-30T00:37:18.000Z
git submodule foreach 'git remote rm upstream; true' &&
git -C build remote add upstream https://chromium.googlesource.com/chromium/src/build &&
git -C buildtools remote add upstream https://chromium.googlesource.com/chromium/src/buildtools &&
git submodule foreach 'git remote add upstream `git remote get-url origin`; true' &&
git submodule foreach 'git remote update' &&
git submodule foreach 'export SHA=`git log upstream/master -n1 --until=$COMMITDATE --pretty=%H` && git merge $SHA -m "Merge commit $SHA from `git remote get-url upstream`"'
export BRANCH=20200130_rusty_v8
git -C build push git@github.com:denoland/chromium_build HEAD:refs/heads/$BRANCH
git -C buildtools push git@github.com:denoland/chromium_buildtools HEAD:refs/heads/$BRANCH

2
v8

@ -1 +1 @@
Subproject commit 898f9ebe1614cc9e5260afb32438282d91f0dbc8 Subproject commit 62aeb04515990c92d82af9f4843d4cdb4085a9a5