diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/ffi/callback.rs | 2 | ||||
-rw-r--r-- | ext/http/http_next.rs | 2 | ||||
-rw-r--r-- | ext/node/ops/v8.rs | 2 | ||||
-rw-r--r-- | ext/node/ops/vm.rs | 4 |
4 files changed, 5 insertions, 5 deletions
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<v8::Object>, @@ -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<v8::Value>, |