summaryrefslogtreecommitdiff
path: root/ext/node/ops/v8.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/ops/v8.rs')
-rw-r--r--ext/node/ops/v8.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/node/ops/v8.rs b/ext/node/ops/v8.rs
index 5307f7107..fdfc559d7 100644
--- a/ext/node/ops/v8.rs
+++ b/ext/node/ops/v8.rs
@@ -1,9 +1,10 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use deno_core::op;
+use deno_core::op2;
use deno_core::v8;
-#[op]
-fn op_v8_cached_data_version_tag() -> u32 {
+#[op2(fast)]
+pub fn op_v8_cached_data_version_tag() -> u32 {
v8::script_compiler::cached_data_version_tag()
}