From 0f27b84a5caa10d9056b7a4f9eace3771f8ea114 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Fri, 21 Oct 2022 19:35:23 +0530 Subject: chore(core): remove `core.opSync` (#16379) This patch removes the last uses of `core.opSync` from Deno. The new and JIT-friendly way to call sync ops is `core.ops.op_name()`. --- ext/flash/01_http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/flash') diff --git a/ext/flash/01_http.js b/ext/flash/01_http.js index c7dce421d..547b6d42e 100644 --- a/ext/flash/01_http.js +++ b/ext/flash/01_http.js @@ -186,7 +186,7 @@ } function prepareFastCalls() { - return core.opSync("op_flash_make_request"); + return core.ops.op_flash_make_request(); } function hostnameForDisplay(hostname) { -- cgit v1.2.3