From 11acdf1ea8b2978dcacad37b386f45e43a1f2748 Mon Sep 17 00:00:00 2001 From: Aaron O'Mullan Date: Sun, 3 Oct 2021 21:02:50 +0200 Subject: perf(core): use opcall() directly (#12310) Instead of the wrapper dispatch() func, also now forbids passing opIds to opSync()/opAsync() callers must always pass names --- core/runtime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/runtime.rs') diff --git a/core/runtime.rs b/core/runtime.rs index 3943415f8..0d566d118 100644 --- a/core/runtime.rs +++ b/core/runtime.rs @@ -1848,7 +1848,7 @@ pub mod tests { r#" let thrown; try { - Deno.core.opSync(100); + Deno.core.opcall(100, null, null, null); } catch (e) { thrown = e; } -- cgit v1.2.3