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/webgpu/00_init.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ext/webgpu/00_init.js') diff --git a/ext/webgpu/00_init.js b/ext/webgpu/00_init.js index d33230e58..b7014bd45 100644 --- a/ext/webgpu/00_init.js +++ b/ext/webgpu/00_init.js @@ -1,9 +1,6 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -import { core } from "ext:core/mod.js"; -const { - op_lazy_load_esm, -} = core.ensureFastOps(true); +import { op_lazy_load_esm } from "ext:core/ops"; let webgpu; -- cgit v1.2.3