summaryrefslogtreecommitdiff
path: root/ext/fs/30_fs.js
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-06-06 03:01:28 -0600
committerGitHub <noreply@github.com>2023-06-06 11:01:28 +0200
commit0bbdbace02d8b17a02bd3c631b82f508d0effa4a (patch)
tree836c1faac1dd7e1afc358255554f88e934f282be /ext/fs/30_fs.js
parent5c55f2b4fb9f386d5589e4cbd4c513ecb1bae50b (diff)
refactor(core): ensureFastOps is an op-generating proxy (#19377)
Startup benchmark shows no changes (within 1ms, identical system/user times).
Diffstat (limited to 'ext/fs/30_fs.js')
-rw-r--r--ext/fs/30_fs.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/ext/fs/30_fs.js b/ext/fs/30_fs.js
index f14fcd5d1..f7c07f26a 100644
--- a/ext/fs/30_fs.js
+++ b/ext/fs/30_fs.js
@@ -10,13 +10,7 @@ const {
op_fs_truncate_async,
op_fs_link_async,
op_fs_flock_async,
-} = Deno.core.generateAsyncOpHandler(
- "op_fs_chmod_async",
- "op_fs_ftruncate_async",
- "op_fs_truncate_async",
- "op_fs_link_async",
- "op_fs_flock_async",
-);
+} = Deno.core.ensureFastOps();
const primordials = globalThis.__bootstrap.primordials;
const {
ArrayPrototypeFilter,