From e18950284f279cfa8ec090cb8a882dbd64e92d4a Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Fri, 28 Oct 2022 04:20:17 -0700 Subject: Reland "perf(core): generate inlined wrappers for async ops" (#16455) Reland https://github.com/denoland/deno/pull/16428 --- runtime/js/99_main.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/js') diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index afacd9b34..ef99969b2 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -692,6 +692,7 @@ delete Intl.v8BreakIterator; throw new Error("Worker runtime already bootstrapped"); } + core.initializeAsyncOps(); performance.setTimeOrigin(DateNow()); net.setup(runtimeOptions.unstableFlag); @@ -791,6 +792,7 @@ delete Intl.v8BreakIterator; throw new Error("Worker runtime already bootstrapped"); } + core.initializeAsyncOps(); performance.setTimeOrigin(DateNow()); net.setup(runtimeOptions.unstableFlag); -- cgit v1.2.3