summaryrefslogtreecommitdiff
path: root/ext/node
diff options
context:
space:
mode:
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>,