mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-21 20:28:58 +00:00
Rolling to V8 9.7.106.2 (#827)
Co-authored-by: Luca Casonato <hello@lcas.dev>
This commit is contained in:
parent
314fe76bf2
commit
7cc28c5e47
@ -1,6 +1,6 @@
|
||||
# Rusty V8 Binding
|
||||
|
||||
V8 Version: 9.6.180.10
|
||||
V8 Version: 9.7.106.2
|
||||
|
||||
[![ci](https://github.com/denoland/rusty_v8/workflows/ci/badge.svg?branch=main)](https://github.com/denoland/rusty_v8/actions)
|
||||
[![crates](https://img.shields.io/crates/v/v8.svg)](https://crates.io/crates/v8)
|
||||
|
@ -971,8 +971,9 @@ V(ToStringTag)
|
||||
V(Unscopables)
|
||||
#undef V
|
||||
|
||||
const v8::Value* v8__Symbol__Description(const v8::Symbol& self) {
|
||||
return local_to_ptr(ptr_to_local(&self)->Description());
|
||||
const v8::Value* v8__Symbol__Description(const v8::Symbol& self,
|
||||
v8::Isolate* isolate) {
|
||||
return local_to_ptr(ptr_to_local(&self)->Description(isolate));
|
||||
}
|
||||
|
||||
const v8::Private* v8__Private__New(v8::Isolate* isolate,
|
||||
|
@ -14,7 +14,10 @@ extern "C" {
|
||||
isolate: *mut Isolate,
|
||||
description: *const String,
|
||||
) -> *const Symbol;
|
||||
fn v8__Symbol__Description(this: *const Symbol) -> *const Value;
|
||||
fn v8__Symbol__Description(
|
||||
this: *const Symbol,
|
||||
isolate: *mut Isolate,
|
||||
) -> *const Value;
|
||||
}
|
||||
|
||||
macro_rules! well_known {
|
||||
@ -70,7 +73,11 @@ impl Symbol {
|
||||
&self,
|
||||
scope: &mut HandleScope<'s, ()>,
|
||||
) -> Local<'s, Value> {
|
||||
unsafe { scope.cast_local(|_| v8__Symbol__Description(&*self)) }.unwrap()
|
||||
unsafe {
|
||||
scope
|
||||
.cast_local(|sd| v8__Symbol__Description(&*self, sd.get_isolate_ptr()))
|
||||
}
|
||||
.unwrap()
|
||||
}
|
||||
|
||||
well_known!(get_async_iterator, v8__Symbol__GetAsyncIterator);
|
||||
|
2
v8
2
v8
@ -1 +1 @@
|
||||
Subproject commit 5e682b481d4fced6667d027578e85c829b8b539d
|
||||
Subproject commit 89ed41a79629a81e2d89e6342c69593d98ba6b31
|
Loading…
Reference in New Issue
Block a user