From 345423cf7697326258ce8b32f681910f4a2f77de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 29 Jan 2024 22:02:26 +0100 Subject: refactor: Use virtul ops module (#22175) Follow up to #22157. This leaves us with 4 usages of `ensureFastOps()` in `deno` itself. There's also about 150 usages of `Deno.core.ops.` left as well. --- ext/web/06_streams.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ext/web/06_streams.js') diff --git a/ext/web/06_streams.js b/ext/web/06_streams.js index e99c8fa1b..fa9e4b59e 100644 --- a/ext/web/06_streams.js +++ b/ext/web/06_streams.js @@ -15,6 +15,8 @@ const { } = core; import { op_arraybuffer_was_detached, + // TODO(mmastrac): use readAll + op_read_all, op_readable_stream_resource_allocate, op_readable_stream_resource_allocate_sized, op_readable_stream_resource_await_close, @@ -25,10 +27,6 @@ import { op_readable_stream_resource_write_sync, op_transfer_arraybuffer, } from "ext:core/ops"; -const { - // TODO(mmastrac): use readAll - op_read_all, -} = core.ensureFastOps(true); const { ArrayBuffer, ArrayBufferIsView, -- cgit v1.2.3