summaryrefslogtreecommitdiff
path: root/ext/web/02_timers.js
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-07-22 19:06:32 +0530
committerGitHub <noreply@github.com>2022-07-22 19:06:32 +0530
commit4db650ddd57b85475d71c0b9fc84d37becab9d6a (patch)
treee32602ab92d4c117dbbd72ea9c7436964466187d /ext/web/02_timers.js
parent03dc3b8972f460e40d0b75fc3207cae9fe4f60da (diff)
Revert "feat(ops): V8 Fast Calls (#15122)" (#15276)
This reverts commit 03dc3b8972f460e40d0b75fc3207cae9fe4f60da.
Diffstat (limited to 'ext/web/02_timers.js')
-rw-r--r--ext/web/02_timers.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/web/02_timers.js b/ext/web/02_timers.js
index 1a456f9bb..a4ce33a18 100644
--- a/ext/web/02_timers.js
+++ b/ext/web/02_timers.js
@@ -23,11 +23,9 @@
const { webidl } = window.__bootstrap;
const { reportException } = window.__bootstrap.event;
const { assert } = window.__bootstrap.infra;
- // deno-lint-ignore camelcase
- const { op_now } = Deno.core.ops;
function opNow() {
- return op_now.call();
+ return core.opSync("op_now");
}
// ---------------------------------------------------------------------------