summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-08-21 23:33:21 +0100
committerGitHub <noreply@github.com>2024-08-21 22:33:21 +0000
commit777e7eaa81ae2477852596976be6b8b360742e2e (patch)
tree7ad4cc2989903f5eddfb867b15645270c04cb121 /ext
parent48da3c17ea905f50b82948e6f94795e1589f852e (diff)
feat: Upgrade V8 to 12.9 (#25138)
Diffstat (limited to 'ext')
-rw-r--r--ext/ffi/callback.rs2
-rw-r--r--ext/http/http_next.rs2
-rw-r--r--ext/node/ops/v8.rs2
-rw-r--r--ext/node/ops/vm.rs4
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>,