summaryrefslogtreecommitdiff
path: root/ext/node
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/node
parent48da3c17ea905f50b82948e6f94795e1589f852e (diff)
feat: Upgrade V8 to 12.9 (#25138)
Diffstat (limited to 'ext/node')
-rw-r--r--ext/node/ops/v8.rs2
-rw-r--r--ext/node/ops/vm.rs4
2 files changed, 3 insertions, 3 deletions
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>,