summaryrefslogtreecommitdiff
path: root/ext/web/02_timers.js
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-07-22 17:54:22 +0530
committerGitHub <noreply@github.com>2022-07-22 17:54:22 +0530
commit03dc3b8972f460e40d0b75fc3207cae9fe4f60da (patch)
tree410bc92530e34ca2eee8a154f705be85ae9641b3 /ext/web/02_timers.js
parent244c00d95b7ec8f30a5e81b743b4b618049b6c37 (diff)
feat(ops): V8 Fast Calls (#15122)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'ext/web/02_timers.js')
-rw-r--r--ext/web/02_timers.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/web/02_timers.js b/ext/web/02_timers.js
index a4ce33a18..1a456f9bb 100644
--- a/ext/web/02_timers.js
+++ b/ext/web/02_timers.js
@@ -23,9 +23,11 @@
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 core.opSync("op_now");
+ return op_now.call();
}
// ---------------------------------------------------------------------------