From 777e7eaa81ae2477852596976be6b8b360742e2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 21 Aug 2024 23:33:21 +0100 Subject: feat: Upgrade V8 to 12.9 (#25138) --- ext/ffi/callback.rs | 2 +- ext/http/http_next.rs | 2 +- ext/node/ops/v8.rs | 2 +- ext/node/ops/vm.rs | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'ext') diff --git a/ext/ffi/callback.rs b/ext/ffi/callback.rs index 1ddb1fff5..39321aa84 100644 --- a/ext/ffi/callback.rs +++ b/ext/ffi/callback.rs @@ -621,7 +621,7 @@ where Ok(array_value) } -#[op2] +#[op2(fast)] pub fn op_ffi_unsafe_callback_close( state: &mut OpState, scope: &mut v8::HandleScope, diff --git a/ext/http/http_next.rs b/ext/http/http_next.rs index 9bdb79f86..9ff449a09 100644 --- a/ext/http/http_next.rs +++ b/ext/http/http_next.rs @@ -466,7 +466,7 @@ pub fn op_http_set_response_header( response_parts.headers.append(name, value); } -#[op2] +#[op2(fast)] pub fn op_http_set_response_headers( scope: &mut v8::HandleScope, external: *const c_void, diff --git a/ext/node/ops/v8.rs b/ext/node/ops/v8.rs index 5520784f3..ebcf6b080 100644 --- a/ext/node/ops/v8.rs +++ b/ext/node/ops/v8.rs @@ -7,7 +7,7 @@ pub fn op_v8_cached_data_version_tag() -> u32 { v8::script_compiler::cached_data_version_tag() } -#[op2] +#[op2(fast)] pub fn op_v8_get_heap_statistics( scope: &mut v8::HandleScope, #[buffer] buffer: &mut [f64], diff --git a/ext/node/ops/vm.rs b/ext/node/ops/vm.rs index e75e05651..12c9b6cdb 100644 --- a/ext/node/ops/vm.rs +++ b/ext/node/ops/vm.rs @@ -1074,7 +1074,7 @@ pub fn op_vm_script_run_in_context<'a>( ) } -#[op2] +#[op2(fast)] pub fn op_vm_create_context( scope: &mut v8::HandleScope, sandbox_obj: v8::Local, @@ -1101,7 +1101,7 @@ pub fn op_vm_create_context( ); } -#[op2] +#[op2(fast)] pub fn op_vm_is_context( scope: &mut v8::HandleScope, sandbox_obj: v8::Local, -- cgit v1.2.3